diff --git a/OptionalPointee.html b/OptionalPointee.html index 8b96a45..925a9ae 100644 --- a/OptionalPointee.html +++ b/OptionalPointee.html @@ -125,7 +125,7 @@ If both have invalid pointees, returns true.
inline bool less_pointees ( OptionalPointee const& x, OptionalPointee const& y ) { - return (!x) != (!y) ? false : ( !x ? false : (*x) == (*y) ) ; + return !y ? false : ( !x ? true : (*x) < (*y) ) ; } template<class OptionalPointee> struct less_pointees_t : std::binary_function<bool,OptionalPointee,OptionalPointee> diff --git a/include/boost/utility/compare_pointees.hpp b/include/boost/utility/compare_pointees.hpp index e02aaf8..e580ae2 100644 --- a/include/boost/utility/compare_pointees.hpp +++ b/include/boost/utility/compare_pointees.hpp @@ -52,7 +52,7 @@ template