Back to index

im-sdk  12.3.91
Public Member Functions
Functor_destroyobject Struct Reference

#include <basictype.hh>

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 48 of file basictype.hh.


Member Function Documentation

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

Definition at line 50 of file basictype.hh.

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

Definition at line 56 of file basictype.hh.

    {
       p->destroy();
       return true;
    }

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