Compare commits

..

1 Commits

Author SHA1 Message Date
dd40add326 Created a branch from trunk
[SVN r38959]
2007-08-26 05:34:35 +00:00
2 changed files with 2 additions and 3 deletions

View File

@ -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);
}
/**

View File

@ -8,7 +8,6 @@
#include <sstream>
#include <string>
#include <iostream>
#include <ios> // for std::boolalpha
#ifndef BOOST_NO_STD_LOCALE
# include <locale>