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

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
 

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 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.


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