xmltooling::cleanup_pair< A, B > Struct Template Reference

Functor for cleaning up heap objects in key/value containers. More...

#include <xmltooling/base.h>

List of all members.

Public Member Functions

void operator() (const std::pair< const A, B * > &p)
 Function operator to delete an object.


Detailed Description

template<class A, class B>
struct xmltooling::cleanup_pair< A, B >

Functor for cleaning up heap objects in key/value containers.


Member Function Documentation

template<class A, class B>
void xmltooling::cleanup_pair< A, B >::operator() ( const std::pair< const A, B * > &  p  )  [inline]

Function operator to delete an object.

Parameters:
p a pair in which the second component is the object to delete


The documentation for this struct was generated from the following file:
Generated on Mon Oct 19 14:18:34 2009 for xmltooling by  doxygen 1.4.7