Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Logical operations

Functions

tribool boost::logic::operator! (tribool x)
 Computes the logical negation of a tribool. More...
 
tribool boost::logic::operator&& (tribool x, tribool y)
 Computes the logical conjuction of two tribools. More...
 
tribool boost::logic::operator&& (tribool x, bool y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
tribool boost::logic::operator&& (bool x, tribool y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
tribool boost::logic::operator&& (indeterminate_keyword_t, tribool x)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
tribool boost::logic::operator&& (tribool x, indeterminate_keyword_t)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
tribool boost::logic::operator|| (tribool x, tribool y)
 Computes the logical disjunction of two tribools. More...
 
tribool boost::logic::operator|| (tribool x, bool y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
tribool boost::logic::operator|| (bool x, tribool y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
tribool boost::logic::operator|| (indeterminate_keyword_t, tribool x)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
tribool boost::logic::operator|| (tribool x, indeterminate_keyword_t)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

Function Documentation

tribool boost::logic::operator! ( tribool  x)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

Computes the logical negation of a tribool.

Returns
the logical negation of the tribool, according to the table:
!
false
true
true
false
indeterminate
indeterminate
Exceptions
nothrow

References boost::logic::tribool::false_value, boost::logic::indeterminate(), boost::logic::tribool::true_value, and boost::logic::tribool::value.

tribool boost::logic::operator&& ( tribool  x,
tribool  y 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

Computes the logical conjuction of two tribools.

Returns
the result of logically ANDing the two tribool values, according to the following table:
&&
false
true
indeterminate
false
false
false
false
true
false
true
indeterminate
indeterminate
false
indeterminate
indeterminate
Exceptions
nothrow

References boost::logic::indeterminate().

tribool boost::logic::operator&& ( tribool  x,
bool  y 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

tribool boost::logic::operator&& ( bool  x,
tribool  y 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

tribool boost::logic::operator&& ( indeterminate_keyword_t  ,
tribool  x 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

References boost::logic::indeterminate().

tribool boost::logic::operator&& ( tribool  x,
indeterminate_keyword_t   
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

References boost::logic::indeterminate().

tribool boost::logic::operator|| ( tribool  x,
tribool  y 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

Computes the logical disjunction of two tribools.

Returns
the result of logically ORing the two tribool values, according to the following table:
||
false
true
indeterminate
false
false
true
indeterminate
true
true
true
true
indeterminate
indeterminate
true
indeterminate
Exceptions
nothrow

References boost::logic::indeterminate().

tribool boost::logic::operator|| ( tribool  x,
bool  y 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

References boost::flyweights::x.

tribool boost::logic::operator|| ( bool  x,
tribool  y 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

References boost::polygon::y().

tribool boost::logic::operator|| ( indeterminate_keyword_t  ,
tribool  x 
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

References boost::logic::indeterminate().

tribool boost::logic::operator|| ( tribool  x,
indeterminate_keyword_t   
)
inline

#include <boost_1_57_0/boost/logic/tribool.hpp>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

References boost::logic::indeterminate().