<<<<<<< .working ======= >>>>>>> .merge-right.r57125
Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
<<<<<<< .working

Callable Object

Description
=======
Description
>>>>>>> .merge-right.r57125

A pointer to a function, a pointer to member function, a pointer to member data, or a class type whose objects can appear immediately to the left of a function call operator.

<<<<<<< .working
Models
  • =======
    Models
    • >>>>>>> .merge-right.r57125 function pointer types
    • member (function or data) pointer types
    • all kinds of function objects
    <<<<<<< .working
    Examples
    =======
    Examples
    >>>>>>> .merge-right.r57125
    & a_free_function
    & a_class::a_static_member_function
    & a_class::a_nonstatic_data_member
    & a_class::a_nonstatic_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>())
    

PrevUpHomeNext