7 #ifndef _QITYPE_DETAIL_HASLESS_HXX_
8 #define _QITYPE_DETAIL_HASLESS_HXX_
10 #include <boost/type_traits/has_less.hpp>
22 static const bool value = boost::has_less<T, T>::value;
37 template<
typename K,
typename V>
44 template<
typename A,
typename B>
53 struct HasLess<boost::optional<T>>
59 template<
typename T,
bool v>
66 static const bool value =
false;
78 boost::is_member_function_pointer<T>::value
79 || boost::is_function<T>::value
80 || boost::is_function<typename boost::remove_pointer<T>::type>
::value
81 || boost::is_member_pointer<T>::value;
87 template<
typename T,
bool hasLessGuard>
105 #endif // _QITYPE_DETAIL_HASLESS_HXX_
static const bool switchVal
bool operator()(T *a, T *b)
bool operator()(T *a, T *b)