On this page
std::indirectly_unary_invocable, std::indirectly_regular_unary_invocable
Defined in header <iterator> |
||
---|---|---|
|
(since C++20) | |
|
(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
Each concept is modeled by F
and I
only if all concepts it subsume are modeled.
Notes
The distinction between indirectly_unary_invocable
and indirectly_regular_unary_invocable
is purely semantic.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/indirectly_unary_invocable