template<class Arg = void>
struct senf::ppi::detail::Callback< Arg >
Provide callbacks with a single optional argument.
This helper implements callbacks with an optional single argument. In addition to boost::function, this helper provides the following functionality:
- It allows the callback to ignore the argument: A callable with no argument may be used as callback.
- It allows to use member function pointers as callbacks. These will be automatically bound to the owner argument of make().
The callbacks follow the same restrictions as Boost.Function: They must be either function, member function pointers or callable objects defining the appropriate typedef members.
Definition at line 45 of file Callback.hh.