File indexing completed on 2025-09-17 08:33:43
0001 #ifndef BOOST_HASH2_FLAVOR_HPP_INCLUDED
0002 #define BOOST_HASH2_FLAVOR_HPP_INCLUDED
0003
0004
0005
0006
0007
0008 #include <boost/hash2/endian.hpp>
0009 #include <cstdint>
0010
0011 namespace boost
0012 {
0013 namespace hash2
0014 {
0015
0016 struct default_flavor
0017 {
0018 using size_type = std::uint32_t;
0019 static constexpr auto byte_order = endian::native;
0020 };
0021
0022 struct little_endian_flavor
0023 {
0024 using size_type = std::uint32_t;
0025 static constexpr auto byte_order = endian::little;
0026 };
0027
0028 struct big_endian_flavor
0029 {
0030 using size_type = std::uint32_t;
0031 static constexpr auto byte_order = endian::big;
0032 };
0033
0034 }
0035 }
0036
0037 #endif