std::indirect_unary_invocable
Defined in header <iterator>
|
||
template< class F, class I > concept indirectly_unary_invocable = |
(since C++20) | |
template< class F, class I > concept indirectly_regular_unary_invocable = |
(since C++20) | |
The concepts indirectly_unary_invocable
and indirectly_regular_unary_invocable
specify requirements for algorithms that call (regular) unary invocables as their arguments. The key difference between these concepts and std::invocable
is that they are applied to the type the I
references, rather than I
itself.
Semantic requirements
F
and I
model their respective concepts only if all concepts they subsume are modeled.
Equality preservation
Expressions declared in requires expressions of the standard library concepts are required to be equality-preserving (except where stated otherwise).