cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
endian.hpp File Reference
#include <cstdio>
Include dependency graph for endian.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cpp_toolbox
 
namespace  cpp_toolbox::detail
 

Macros

#define CPP_TOOLBOX_ENDIAN_NAMESPACE   cpp_toolbox::detail
 
#define CPP_TOOLBOX_NATIVE_ENDIAN_ENUM   cpp_toolbox::detail::endian::little
 

Enumerations

enum class  cpp_toolbox::detail::endian { cpp_toolbox::detail::little , cpp_toolbox::detail::big }
 

Variables

constexpr bool CPP_TOOLBOX_NATIVE_IS_LITTLE = true
 
constexpr bool CPP_TOOLBOX_NATIVE_IS_BIG = false
 

Macro Definition Documentation

◆ CPP_TOOLBOX_ENDIAN_NAMESPACE

#define CPP_TOOLBOX_ENDIAN_NAMESPACE   cpp_toolbox::detail

◆ CPP_TOOLBOX_NATIVE_ENDIAN_ENUM

#define CPP_TOOLBOX_NATIVE_ENDIAN_ENUM   cpp_toolbox::detail::endian::little

Variable Documentation

◆ CPP_TOOLBOX_NATIVE_IS_BIG

constexpr bool CPP_TOOLBOX_NATIVE_IS_BIG = false
constexpr

◆ CPP_TOOLBOX_NATIVE_IS_LITTLE

constexpr bool CPP_TOOLBOX_NATIVE_IS_LITTLE = true
constexpr