claw::binary_true< T, U > Class Template Reference

#include <functional.hpp>

List of all members.


Detailed Description

template<class T, class U>
class claw::binary_true< T, U >

Always true binary predicate.

Template arguments :

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

Definition at line 189 of file functional.hpp.

Public Member Functions

bool operator() (const T &t, const U &u) const


Member Function Documentation

template<class T, class U>
bool claw::binary_true< T, U >::operator() ( const T &  t,
const U &  u 
) const [inline]

Definition at line 192 of file functional.hpp.

00193     {
00194       return true;
00195     } // operator()


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