Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

is_greater_equal_comparable

template <class T>
struct is_greater_equal_comparable : public true_type-or-false_type {};

Inherits: If two values of type T are comparable with operator>= then inherits from true_type, otherwise inherits from false_type.

Header: #include <boost/type_traits/is_greater_equal_comparable.hpp> or #include <boost/type_traits.hpp>

Examples:

is_greater_equal_comparable<int> inherits from true_type.

is_greater_equal_comparable<float>::type is the type true_type.

is_greater_equal_comparable<long>::value is an integral constant expression that evaluates to true.

is_greater_equal_comparable<T>::value_type is the type bool.


PrevUpHomeNext