$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::fun::p2b::tautology Struct Reference

#include <mln/fun/p2b/tautology.hh>

Public Member Functions

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

Public Types

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

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 49 of file tautology.hh.

Member Function Documentation

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

Member Typedef Documentation

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

Definition at line 162 of file function.hh.

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

Definition at line 105 of file object.hh.

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

Definition at line 135 of file function.hh.

Definition at line 51 of file tautology.hh.