Public メソッド | Private 変数

クラス boolean

Useful boolean type. [詳細]

#include <boolean.hpp>

すべてのメンバ一覧

Public メソッド

 boolean (bool value=false)
 Creates boolean variable with specified value.
 operator bool () const
 Converts boolean to built-in bool.

Private 変数

bool value

説明

Useful boolean type.

Replacement of built-in bool type.

Features (Some advantages of boolean over bool) You can use boolean with std::vector!


コンストラクタとデストラクタ

boolean::boolean ( bool  value = false  )  [inline]

Creates boolean variable with specified value.

This constructor is implicit, so you can write such as: boolean b = true;

引数:
value initial value

関数

boolean::operator bool (  )  const [inline]

Converts boolean to built-in bool.

This conversion operator makes it possible to write boolean b1; bool b2 = b1;

戻り値:
converted value

変数

bool boolean::value [private]

このクラスの説明は次のファイルから生成されました: