...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 Deferred Callable Object type.
Notation
A possibly const-qualified Polymorphic Function Object type
An object or reference to an object of type F
Argument types
Objects or references to objects with types A1 ...AN
Ti is Ai & if ai is an LValue, same as Ai, otherwise
Expression |
Return Type |
Runtime Complexity |
---|---|---|
f(a1, ...aN) |
result_of< F(T1, ...TN) >::type |
Unspecified |
& a_free_function & a_class::a_static_member_function std::less<int>() // using namespace boost; bind(std::less<int>(), _1, 5) // Note: Boost.Lambda expressions don't work with __boost_result_of__ fusion::make_fused_function_object(std::less<int>())