Public Types | Public Member Functions

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 tautology 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

typedef Function_v2b<void> mln::Function_v2b< tautology >::category [inherited]

Reimplemented from mln::Function_v2v< tautology >.

Definition at line 152 of file function.hh.

typedef tautology mln::Object< tautology >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< tautology >::mutable_result [inherited]

Definition at line 127 of file function.hh.

Reimplemented from mln::Function_v2b< tautology >.

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.