.TH "std::tr2::bool_set" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::tr2::bool_set .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBconstexpr\fP \fBbool_set\fP ()" .br .RI "Default constructor\&. " .ti -1c .RI "\fBconstexpr\fP \fBbool_set\fP (bool __t)" .br .RI "Constructor from bool\&. " .ti -1c .RI "bool \fBcontains\fP (\fBbool_set\fP __b) \fBconst\fP" .br .ti -1c .RI "bool \fBequals\fP (\fBbool_set\fP __b) \fBconst\fP" .br .RI "Return true if states are equal\&. " .ti -1c .RI "bool \fBis_emptyset\fP () \fBconst\fP" .br .RI "Return true if this is empty\&. " .ti -1c .RI "bool \fBis_indeterminate\fP () \fBconst\fP" .br .RI "Return true if this is indeterminate\&. " .ti -1c .RI "bool \fBis_singleton\fP () \fBconst\fP" .br .RI "Return true if this is false or true (normal boolean)\&. " .ti -1c .RI "\fBoperator bool\fP () \fBconst\fP" .br .RI "Conversion to bool\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "\fBstatic\fP \fBbool_set\fP \fBemptyset\fP ()" .br .ti -1c .RI "\fBstatic\fP \fBbool_set\fP \fBindeterminate\fP ()" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "\fBbool_set\fP \fBoperator!\fP (\fBbool_set\fP __b)" .br .ti -1c .RI "\fBbool_set\fP \fBoperator&\fP (\fBbool_set\fP \fB__s\fP, \fBbool_set\fP __t)" .br .ti -1c .RI "template<\fBtypename\fP \fBCharT\fP , \fBtypename\fP \fBTraits\fP > \fBstd::basic_ostream\fP< \fBCharT\fP, \fBTraits\fP > & \fBoperator<<\fP (\fBstd::basic_ostream\fP< \fBCharT\fP, \fBTraits\fP > &\fB__out\fP, \fBbool_set\fP __b)" .br .ti -1c .RI "\fBbool_set\fP \fBoperator==\fP (\fBbool_set\fP \fB__s\fP, \fBbool_set\fP __t)" .br .ti -1c .RI "template<\fBtypename\fP \fBCharT\fP , \fBtypename\fP \fBTraits\fP > \fBstd::basic_istream\fP< \fBCharT\fP, \fBTraits\fP > & \fBoperator>>\fP (\fBstd::basic_istream\fP< \fBCharT\fP, \fBTraits\fP > &\fB__in\fP, \fBbool_set\fP &__b)" .br .ti -1c .RI "\fBbool_set\fP \fBoperator^\fP (\fBbool_set\fP \fB__s\fP, \fBbool_set\fP __t)" .br .ti -1c .RI "\fBbool_set\fP \fBoperator|\fP (\fBbool_set\fP \fB__s\fP, \fBbool_set\fP __t)" .br .in -1c .SH "Detailed Description" .PP bool_set .PP See N2136, Bool_set: multi-valued logic by Hervé Brönnimann, Guillaume Melquiond, Sylvain Pion\&. .PP 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\&. .PP Definition at line \fB54\fP of file \fBbool_set\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "\fBconstexpr\fP std::tr2::bool_set::bool_set ()\fC [inline]\fP, \fC [constexpr]\fP" .PP Default constructor\&. .PP Definition at line \fB59\fP of file \fBbool_set\fP\&. .SS "\fBconstexpr\fP std::tr2::bool_set::bool_set (bool __t)\fC [inline]\fP, \fC [constexpr]\fP" .PP Constructor from bool\&. .PP Definition at line \fB62\fP of file \fBbool_set\fP\&. .SH "Member Function Documentation" .PP .SS "bool std::tr2::bool_set::contains (\fBbool_set\fP __b) const\fC [inline]\fP" .PP Definition at line \fB65\fP of file \fBbool_set\fP\&. .SS "\fBstatic\fP \fBbool_set\fP std::tr2::bool_set::emptyset ()\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB102\fP of file \fBbool_set\fP\&. .SS "bool std::tr2::bool_set::equals (\fBbool_set\fP __b) const\fC [inline]\fP" .PP Return true if states are equal\&. .PP Definition at line \fB69\fP of file \fBbool_set\fP\&. .SS "\fBstatic\fP \fBbool_set\fP std::tr2::bool_set::indeterminate ()\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB94\fP of file \fBbool_set\fP\&. .SS "bool std::tr2::bool_set::is_emptyset () const\fC [inline]\fP" .PP Return true if this is empty\&. .PP Definition at line \fB73\fP of file \fBbool_set\fP\&. .SS "bool std::tr2::bool_set::is_indeterminate () const\fC [inline]\fP" .PP Return true if this is indeterminate\&. .PP Definition at line \fB77\fP of file \fBbool_set\fP\&. .SS "bool std::tr2::bool_set::is_singleton () const\fC [inline]\fP" .PP Return true if this is false or true (normal boolean)\&. .PP Definition at line \fB81\fP of file \fBbool_set\fP\&. .SS "std::tr2::bool_set::operator bool () const\fC [inline]\fP" .PP Conversion to bool\&. .PP Definition at line \fB86\fP of file \fBbool_set\fP\&. .SH "Friends And Related Symbol Documentation" .PP .SS "\fBbool_set\fP operator! (\fBbool_set\fP __b)\fC [friend]\fP" .PP Definition at line \fB110\fP of file \fBbool_set\fP\&. .SS "\fBbool_set\fP \fBoperator\fP& (\fBbool_set\fP __s, \fBbool_set\fP __t)\fC [friend]\fP" .PP Definition at line \fB122\fP of file \fBbool_set\fP\&. .SS "template<\fBtypename\fP \fBCharT\fP , \fBtypename\fP \fBTraits\fP > \fBstd::basic_ostream\fP< \fBCharT\fP, \fBTraits\fP > & \fBoperator\fP<< (\fBstd::basic_ostream\fP< \fBCharT\fP, \fBTraits\fP > & __out, \fBbool_set\fP __b)\fC [friend]\fP" .PP Definition at line \fB133\fP of file \fBbool_set\fP\&. .SS "\fBbool_set\fP \fBoperator\fP== (\fBbool_set\fP __s, \fBbool_set\fP __t)\fC [friend]\fP" .PP Definition at line \fB126\fP of file \fBbool_set\fP\&. .SS "template<\fBtypename\fP \fBCharT\fP , \fBtypename\fP \fBTraits\fP > \fBstd::basic_istream\fP< \fBCharT\fP, \fBTraits\fP > & \fBoperator\fP>> (\fBstd::basic_istream\fP< \fBCharT\fP, \fBTraits\fP > & __in, \fBbool_set\fP & __b)\fC [friend]\fP" .PP Definition at line \fB142\fP of file \fBbool_set\fP\&. .SS "\fBbool_set\fP \fBoperator\fP^ (\fBbool_set\fP __s, \fBbool_set\fP __t)\fC [friend]\fP" .PP Definition at line \fB114\fP of file \fBbool_set\fP\&. .SS "\fBbool_set\fP \fBoperator\fP| (\fBbool_set\fP __s, \fBbool_set\fP __t)\fC [friend]\fP" .PP Definition at line \fB118\fP of file \fBbool_set\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.