mirror of
https://github.com/boostorg/logic.git
synced 2025-06-26 04:21:35 +02:00
Compare commits
4 Commits
boost-1.37
...
svn-branch
Author | SHA1 | Date | |
---|---|---|---|
dd40add326 | |||
d1f46c8f98 | |||
23af176127 | |||
196865d37f |
@ -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,7 +8,6 @@
|
||||
#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