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.
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] |
typedef bool mln::fun::p2b::tautology::result |
Reimplemented from mln::Function_v2b< tautology >.
bool mln::fun::p2b::tautology::operator() | ( | const P & | p | ) | const [inline] |