xmltooling 3.0.4

Public Member Functions | List of all members
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

## ◆ operator()()

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:

- xmltooling/base.h