claw::unary_true< T > Class Template Reference

#include <functional.hpp>

List of all members.


Detailed Description

template<class T>
class claw::unary_true< T >

Always true unary predicate.

Template arguments :

Remarks:
Use it when you need to process all elements but a method needs an unary predicate parameter.
Author:
Julien Jorge

Definition at line 170 of file functional.hpp.

Public Member Functions

bool operator() (const T &t) const


Member Function Documentation

template<class T>
bool claw::unary_true< T >::operator() ( const T &  t  )  const [inline]

Definition at line 173 of file functional.hpp.

00173 { return true; }


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