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 Hook > | |
void | operator() (edge_version_entry_base< Hook > *entry_ptr) const |
template<typename T , typename Hook > | |
void | operator() (filtered_edge_version_entry_base< T, 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 edge_version_entry_base
and filtered_edge_version_entry
to guard against inadvertent use in other contexts.