12 #ifndef BOOST_UTILITY_COMPARE_POINTEES_25AGO2003_HPP
13 #define BOOST_UTILITY_COMPARE_POINTEES_25AGO2003_HPP
28 template<
class OptionalPo
intee>
32 return (!
x) != (!
y) ?
false : ( !
x ?
true : (*
x) == (*y) ) ;
35 template<
class OptionalPo
intee>
38 bool operator() ( OptionalPointee
const&
x, OptionalPointee
const&
y )
const
51 template<
class OptionalPo
intee>
55 return !
y ? false : ( !
x ? true : (*x) < (*y) ) ;
58 template<
class OptionalPo
intee>
59 struct less_pointees_t : std::binary_function<OptionalPointee,OptionalPointee,bool>
61 bool operator() ( OptionalPointee
const&
x, OptionalPointee
const&
y )
const