claw::delete_function< T > Class Template Reference

#include <functional.hpp>

List of all members.


Detailed Description

template<typename T>
class claw::delete_function< T >

Function object that deletes a pointer.

Template arguments :

Remarks:
Use this function object to clear your container of pointers.
Author:
Julien Jorge

Definition at line 238 of file functional.hpp.

Public Member Functions

void operator() (const T &a) const


Member Function Documentation

template<typename T>
void claw::delete_function< T >::operator() ( const T &  a  )  const [inline]

Definition at line 241 of file functional.hpp.

00242     {
00243       delete a;
00244     }


The documentation for this class was generated from the following file:
Generated on Mon Nov 9 05:07:34 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.4.7