M5Utility 0.0.2 git rev:5c1a751
|
Compile-time endian identification. More...
#include <cstdint>
Go to the source code of this file.
Namespaces | |
namespace | m5 |
Top level namespace of M5. | |
namespace | enidan |
endianness detection | |
Typedefs | |
using | m5::stl::endian = std::endian |
Variables | |
endian type | |
constexpr bool | m5::endian::little = m5::stl::endian::native == m5::stl::endian::little |
true if little endian. | |
constexpr bool | m5::endian::big = m5::stl::endian::native == m5::stl::endian::big |
true if big endian. | |
constexpr bool | m5::endian::other = !little && !big |
true if other endian. | |
Compile-time endian identification.