#include <function_base.hpp>
Public Member Functions | |
template<typename F > | |
bool | contains (const F &f) const |
bool | empty () const |
function_base () | |
detail::function::vtable_base * | get_vtable () const |
bool | has_trivial_copy_and_destroy () const |
template<typename Functor > | |
Functor * | target () |
template<typename Functor > | |
const Functor * | target () const |
const detail::sp_typeinfo & | target_type () const |
Public Attributes | |
detail::function::function_buffer | functor |
detail::function::vtable_base * | vtable |
The function_base class contains the basic elements needed for the function1, function2, function3, etc. classes. It is common to all functions (and as such can be used to tell if we have one of the functionN objects).
Definition at line 630 of file function_base.hpp.
|
inline |
Definition at line 633 of file function_base.hpp.
|
inline |
Definition at line 680 of file function_base.hpp.
|
inline |
Determine if the function is empty (i.e., has no target).
Definition at line 636 of file function_base.hpp.
|
inline |
Definition at line 714 of file function_base.hpp.
|
inline |
Definition at line 719 of file function_base.hpp.
|
inline |
Definition at line 650 of file function_base.hpp.
|
inline |
Definition at line 664 of file function_base.hpp.
|
inline |
Retrieve the type of the stored function object, or BOOST_SP_TYPEID(void) if this is empty.
Definition at line 640 of file function_base.hpp.
|
mutable |
Definition at line 724 of file function_base.hpp.
detail::function::vtable_base* boost::function_base::vtable |
Definition at line 723 of file function_base.hpp.