Back to index

im-sdk  12.3.91
Public Member Functions
Functor_deleteobject Struct Reference

#include <basictype.hh>

List of all members.

Public Member Functions

template<typename Key , typename T >
bool operator() (const std::pair< const Key, T * > &cp) const
template<typename T >
bool operator() (const T *p) const

Detailed Description

Definition at line 26 of file basictype.hh.


Member Function Documentation

template<typename Key , typename T >
bool Functor_deleteobject::operator() ( const std::pair< const Key, T * > &  cp) const [inline]

Definition at line 28 of file basictype.hh.

    {
       delete cp.second;
       return true;
    }
template<typename T >
bool Functor_deleteobject::operator() ( const T *  p) const [inline]

Definition at line 34 of file basictype.hh.

    {
       delete p;
       return true;
    }

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