libstdc++
|
See N2136, Bool_set: multi-valued logic by Hervé Brönnimann, Guillaume Melquiond, Sylvain Pion.
The implicit conversion to bool is slippery! I may use the new explicit conversion. This has been specialized in the language so that in contexts requiring a bool the conversion happens implicitly. Thus most objections should be eliminated.
std::tr2::bool_set::bool_set | ( | ) | [inline] |
std::tr2::bool_set::bool_set | ( | bool | __t | ) | [inline] |
bool std::tr2::bool_set::equals | ( | bool_set | __b | ) | const [inline] |
bool std::tr2::bool_set::is_emptyset | ( | ) | const [inline] |
bool std::tr2::bool_set::is_indeterminate | ( | ) | const [inline] |
bool std::tr2::bool_set::is_singleton | ( | ) | const [inline] |
Return true if this is false or true (normal boolean).
Definition at line 81 of file bool_set.
Referenced by operator bool().
std::tr2::bool_set::operator bool | ( | ) | const [inline] |