muu/build.h file

Contains the definition of many constants in the muu::build namespace.

Namespaces

namespace muu
The root namespace for all muu functions and types.
namespace muu::build
Build environment information (compiler, date/time, support for various things...)

Variables

size_t bitness constexpr
The 'bitness' of the target architecture (e.g. 64 on AMD64).
size_t bits_per_byte constexpr
The number of bits in a byte (aka CHAR_BIT).
uint32_t cpp_version constexpr
The current C++ language version (17, 20...)
uint32_t day constexpr
The current day of the month (1-31).
uint32_t hour constexpr
The current hour of the day (0-23).
bool is_big_endian constexpr
True if the target environment is big-endian.
bool is_little_endian constexpr
True if the target environment is little-endian.
uint32_t minute constexpr
The current minute (0-59).
uint32_t month constexpr
The current month of the year (1-12).
size_t pointer_size constexpr
The number of bytes required to store a pointer.
uint32_t second constexpr
The current second (0-59).
bool supports_exceptions constexpr
True if exceptions are supported.
bool supports_rtti constexpr
True if run-time type identification (RTTI) is enabled.
uint32_t year constexpr
The current year.