Public Member Functions

claw::delete_function< T > Class Template Reference

Function object that deletes a pointer. More...

#include <functional.hpp>

Inheritance diagram for claw::delete_function< T >:
unary_function

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 255 of file functional.hpp.


Member Function Documentation

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

Definition at line 258 of file functional.hpp.

    {
      delete a;
    }

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