mirror of
https://github.com/boostorg/logic.git
synced 2025-06-26 12:31:40 +02:00
Compare commits
14 Commits
svn-branch
...
boost-1.45
Author | SHA1 | Date | |
---|---|---|---|
ab391611fd | |||
c053ade60f | |||
b86917fe43 | |||
987080a8c7 | |||
bd737d03b0 | |||
58cd700623 | |||
951486c794 | |||
f1d8f513bf | |||
9db33f9dcf | |||
02caed268b | |||
5749fb9ef1 | |||
03a2600bf5 | |||
9e9489c7bd | |||
73cce598c7 |
@ -6,4 +6,11 @@ doxygen reference : [ glob ../../../boost/logic/tribool.hpp ]
|
||||
[ glob ../../../boost/logic/tribool_fwd.hpp ]
|
||||
[ glob ../../../boost/logic/tribool_io.hpp ]
|
||||
;
|
||||
boostbook tribool : tribool.boostbook ;
|
||||
boostbook tribool
|
||||
:
|
||||
tribool.boostbook
|
||||
:
|
||||
<xsl:param>boost.root=../../../..
|
||||
<format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
|
||||
<dependency>reference
|
||||
;
|
||||
|
@ -336,7 +336,7 @@ inline tribool operator==(tribool x, tribool y)
|
||||
if (indeterminate(x) || indeterminate(y))
|
||||
return indeterminate;
|
||||
else
|
||||
return x && y || !x && !y;
|
||||
return (x && y) || (!x && !y);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -399,7 +399,7 @@ inline tribool operator!=(tribool x, tribool y)
|
||||
if (indeterminate(x) || indeterminate(y))
|
||||
return indeterminate;
|
||||
else
|
||||
return !(x && y || !x && !y);
|
||||
return !((x && y) || (!x && !y));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <ios> // for std::boolalpha
|
||||
|
||||
#ifndef BOOST_NO_STD_LOCALE
|
||||
# include <locale>
|
||||
|
Reference in New Issue
Block a user