Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

is_not_equal_to_comparable

template <class T>
struct is_not_equal_to_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_not_equal_to_comparable.hpp> or #include <boost/type_traits.hpp>

Examples:

is_not_equal_to_comparable<int> inherits from true_type.

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

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

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


PrevUpHomeNext