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

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

#include <xmltooling/base.h>

Public Member Functions

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

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
pa pair in which the second component is the object to delete

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