STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::detail::entry_disposer Struct Reference

Function object implementing the disposer concept defined by Boost.Intrusive. More...

Public Member Functions

void operator() (edge_entry_base *entry_ptr) const
 

Detailed Description

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 edge_entry context, this disposer is a simple delete call.

Function operator signatures restricted to edge_entry to guard against inadvertent use in other contexts.

Only called for edge_entry when in persistent pg mode. Otherwise, this will happen in try_eviction.


The documentation for this struct was generated from the following file: