We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72aa9f8 commit 3cce078Copy full SHA for 3cce078
files/endianio.h
@@ -37,7 +37,7 @@ namespace endian_internal { namespace detail {
37
#elif defined(__GNUG__)
38
// Both libstdc++ and libc++ essentially do this.
39
namespace endian_internal { namespace detail {
40
- enum class endian : uint8_t {
+ enum class endian : uint16_t {
41
big = __ORDER_BIG_ENDIAN__,
42
little = __ORDER_LITTLE_ENDIAN__,
43
native = __BYTE_ORDER__,
@@ -46,7 +46,7 @@ namespace endian_internal { namespace detail {
46
#elif defined(_MSC_VER)
47
// MS-STL does essentially this.
48
49
50
little = 1234,
51
big = 4321,
52
native = little
0 commit comments