Function object implementing the disposer concept defined by Boost.Intrusive.Intrusive containers do not manage the lifetime of the objects they contain. This is left to the container's user to manage. The disposer callback functor allows the user to do this during container operations where object deletion may be desired (i.e., clear()). In the version context, this disposer is a simple delete call. More...
Public Member Functions | |
template<typename Notifier , typename Hook > | |
void | operator() (notifier_entry< Notifier, Hook > *entry_ptr) const |
template<typename T , typename Notifier , typename Hook > | |
void | operator() (remote_edge_version_entry< T, Notifier, Hook > *entry_ptr) const |
Function object implementing the disposer concept defined by Boost.Intrusive.
Intrusive containers do not manage the lifetime of the objects they contain. This is left to the container's user to manage. The disposer callback functor allows the user to do this during container operations where object deletion may be desired (i.e., clear()). In the version context, this disposer is a simple delete call.
Function operator signatures restricted to notifier_entry
and remote_edge_version_entry to guard against inadvertent use in other contexts.