File indexing completed on 2025-09-17 08:33:43
0001 #ifndef BOOST_HASH2_IS_TRIVIALLY_EQUALITY_COMPARABLE_HPP_INCLUDED
0002 #define BOOST_HASH2_IS_TRIVIALLY_EQUALITY_COMPARABLE_HPP_INCLUDED
0003
0004
0005
0006
0007
0008 #include <type_traits>
0009
0010 namespace boost
0011 {
0012 namespace hash2
0013 {
0014
0015 template<class T> struct is_trivially_equality_comparable:
0016 std::integral_constant< bool, std::is_integral<T>::value || std::is_enum<T>::value || std::is_pointer<T>::value >
0017 {
0018 };
0019
0020 template<class T> struct is_trivially_equality_comparable<T const>:
0021 is_trivially_equality_comparable<T>
0022 {
0023 };
0024
0025 }
0026 }
0027
0028 #endif