Function object implementing the disposer concept defined by Boost.Intrusive. More...
Public Member Functions | |
void | operator() (memento_element_base *entry_ptr) const |
template<typename Spawner , typename S , typename Coord , typename In , typename Out > | |
void | operator() (memento_element< Spawner, S, Coord, In, Out > *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 memento_element
and memento_element_base
to guard against inadvertent use in other contexts.