Public Types | Public Member Functions

mln::util::yes Struct Reference
[Utilities]

Object that always says "yes". More...

#include <yes.hh>

Inheritance diagram for mln::util::yes:
Inheritance graph

List of all members.

Public Types

typedef Object< void > category
typedef yes exact_t

Public Member Functions

 operator bool () const
 yes ()
 yes (bool)

Detailed Description

Object that always says "yes".

Definition at line 76 of file yes.hh.


Member Typedef Documentation

typedef Object<void> mln::Object< yes >::category [inherited]

Definition at line 174 of file object.hh.

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

Definition at line 173 of file object.hh.


Constructor & Destructor Documentation

mln::util::yes::yes (  )  [inline]

Definition at line 115 of file yes.hh.

mln::util::yes::yes ( bool   )  [inline, explicit]

Definition at line 120 of file yes.hh.


Member Function Documentation

mln::util::yes::operator bool (  )  const [inline]

Definition at line 125 of file yes.hh.