cmoon::supplier


Defined in module <cmoon.concepts>


template<class F, class Result>
concept supplier = !std::is_void_t<Result> &&
                    std::is_invocable_r<Result, F>;


(1)

The concept supplier<F, Result> is satisfied if and only if F is invocable given no arguments, and returns the non-void type Result.