mln::fun::p2b::tautology Struct Reference

A p2b function always returning true. More...

#include <tautology.hh>

Inheritance diagram for mln::fun::p2b::tautology:

Inheritance graph

List of all members.

Public Types

typedef Function_v2b< void > category
typedef E exact_t
typedef void mutable_result
typedef bool result

Public Member Functions

template<typename P>
bool operator() (const P &p) const


Detailed Description

A p2b function always returning true.

A simpler name would be `true', but this is not a valid C++ identifier, as true is a keyword of the language.

Definition at line 50 of file tautology.hh.


Member Typedef Documentation

template<typename E>
typedef Function_v2b<void> mln::Function_v2b< E >::category [inherited]

Reimplemented from mln::Function_v2v< E >.

Definition at line 119 of file function.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename E>
typedef void mln::Function_v2v< E >::mutable_result [inherited]

Reimplemented in mln::util::array< T >.

Definition at line 94 of file function.hh.

Reimplemented from mln::Function_v2b< E >.

Definition at line 52 of file tautology.hh.


Member Function Documentation

template<typename P>
bool mln::fun::p2b::tautology::operator() ( const P &  p  )  const [inline]

Definition at line 64 of file tautology.hh.


Generated on Sun Apr 25 02:01:42 2010 for Milena (Olena) by  doxygen 1.5.6