A p2b function always returning true
.
More...
#include <tautology.hh>
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 |
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.
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] |
typedef void mln::Function_v2v< tautology >::mutable_result [inherited] |
Definition at line 127 of file function.hh.
typedef bool mln::fun::p2b::tautology::result |
Reimplemented from mln::Function_v2b< tautology >.
Definition at line 52 of file tautology.hh.
bool mln::fun::p2b::tautology::operator() | ( | const P & | p | ) | const [inline] |
Definition at line 64 of file tautology.hh.