...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A non-member-pointer Callable Object type: A pointer to a function or a class type whose objects can appear immediately to the left of a function call operator.
Notation
F
A possibly const qualified Deferred Callable Object type
f
An object or reference to an object of type F
A1 ...AN
Argument types
a1 ...aN
Objects or references to objects with types A1
...AN
Expression |
Return Type |
Runtime Complexity |
---|---|---|
|
Unspecified |
Unspecified |
& a_free_function
& a_class::a_static_member_function
std::less<int>()
// using namespace boost;
bind(std::less<int>(), _1, 5)
lambda::_1 += lambda::_2;
fusion::make_fused_function_object
(std::less<int>())