cmoon::unary_operator


Defined in module <cmoon.concepts>


template<class F, Result>
concept unary_operator = std::is_invocable_r<Result, F, Result>;


(1)

The concept unary_operator<F, Result> is satisfied if and only if F is invocable given the type Result and returning the type Result.