claw::delete_function< T > Class Template Reference

Function object that deletes a pointer. More...

#include <functional.hpp>

List of all members.

Public Member Functions

void operator() (const T &a) const

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.


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 9 Nov 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.6.1