File indexing completed on 2025-09-17 08:33:43
0001 #ifndef BOOST_HASH2_IS_ENDIAN_INDEPENDENT_HPP_INCLUDED
0002 #define BOOST_HASH2_IS_ENDIAN_INDEPENDENT_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_endian_independent:
0016 std::integral_constant< bool, sizeof(T) == 1 >
0017 {
0018 };
0019
0020 template<class T> struct is_endian_independent<T const>:
0021 is_endian_independent<T>
0022 {
0023 };
0024
0025 }
0026 }
0027
0028 #endif