diff --git a/OptionalPointee.html b/OptionalPointee.html
index 925a9ae..f5c2b8b 100644
--- a/OptionalPointee.html
+++ b/OptionalPointee.html
@@ -108,7 +108,7 @@ bool equal_pointees ( OptionalPointee const& x, OptionalPointee const& y
return (!x) != (!y) ? false : ( !x ? true : (*x) == (*y) ) ;
}
template<class OptionalPointee>
-struct equal_pointees_t : std::binary_function<bool,OptionalPointee,OptionalPointee>
+struct equal_pointees_t : std::binary_function<OptionalPointee,OptionalPointee,bool>
{
bool operator() ( OptionalPointee const& x, OptionalPointee const& y ) const
{ return equal_pointees(x,y) ; }
@@ -128,7 +128,7 @@ bool less_pointees ( OptionalPointee const& x, OptionalPointee const& y
return !y ? false : ( !x ? true : (*x) < (*y) ) ;
}
template<class OptionalPointee>
-struct less_pointees_t : std::binary_function<bool,OptionalPointee,OptionalPointee>
+struct less_pointees_t : std::binary_function<OptionalPointee,OptionalPointee,bool>
{
bool operator() ( OptionalPointee const& x, OptionalPointee const& y ) const
{ return less_pointees(x,y) ; }
diff --git a/include/boost/utility/compare_pointees.hpp b/include/boost/utility/compare_pointees.hpp
index e580ae2..e6888a6 100644
--- a/include/boost/utility/compare_pointees.hpp
+++ b/include/boost/utility/compare_pointees.hpp
@@ -33,7 +33,7 @@ bool equal_pointees ( OptionalPointee const& x, OptionalPointee const& y )
}
template
-struct equal_pointees_t : std::binary_function
+struct equal_pointees_t : std::binary_function
{
bool operator() ( OptionalPointee const& x, OptionalPointee const& y ) const
{ return equal_pointees(x,y) ; }
@@ -56,7 +56,7 @@ bool less_pointees ( OptionalPointee const& x, OptionalPointee const& y )
}
template
-struct less_pointees_t : std::binary_function
+struct less_pointees_t : std::binary_function
{
bool operator() ( OptionalPointee const& x, OptionalPointee const& y ) const
{ return less_pointees(x,y) ; }