15 #ifndef PAAL_LESS_POINTEES_HPP
16 #define PAAL_LESS_POINTEES_HPP
30 template <
typename OptionalPo
intee>
31 bool operator()(OptionalPointee
const &x, OptionalPointee
const &y)
const {
32 return !y ?
false : (!x ?
true : m_compare(*x, *y));
47 template <
class Comparator>
53 #endif // PAAL_LESS_POINTEES_HPP
less_pointees_t(Comparator compare)
constructor
compare pointee using comparator
less_pointees_t< Comparator > make_less_pointees_t(Comparator compare)
make function for less_pointees_t
bool operator()(OptionalPointee const &x, OptionalPointee const &y) const
compare operator()