![]() |
Home | Libraries | People | FAQ | More |
boost::function_base — The common base class for all Boost.Function objects. Objects of type function_base may not be created directly.
// In header: <boost/function.hpp> class function_base { public: // capacity () ; // target access template<typename Functor> (); template<typename Functor> () ; template<typename Functor> () ; () ; };
function_base
target accesstemplate<typename Functor> (); template<typename Functor> () ;
Returns: |
If this stores a target of type
Functor , returns the address of the
target. Otherwise, returns the NULL
pointer. |
Throws: |
Will not throw. |
template<typename Functor> ( f) ;
Returns: |
true if this->target<Functor>() is non-NULL and function_equal(*(this->target<Functor>()), f)
|
() ;
Returns: |
typeid of the target function object, or typeid(void) if this->empty() . Works even with RTTI off. |
Throws: |
Will not throw. |