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.


Member Typedef Documentation

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

Reimplemented from mln::Function_v2v< tautology >.

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

Reimplemented from mln::Function_v2b< tautology >.


Member Function Documentation

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