Header-only library
Various definitions and helper macroses.
Compiler, os and cpu architecture detection.
Defines DMK_ARCH_X32
, DMK_ARCH_X64
, DMK_ARCH_SSE
, DMK_ARCH_AVX
, DMK_OS_WIN
, DMK_COMPILER_MSVC
,
DMK_COMPILER_GNU
, DMK_COMPILER_CLANG
etc
Assertions and debug functions.
DMK_ASSERT_EQ
, DMK_ASSERT_NE
, DMK_ASSERT_LT
, DMK_ASSERT_GT
, DMK_ASSERT_LE
, DMK_ASSERT_GE
,
DMK_ASSERT_NULL
, DMK_ASSERT_NOTNULL
checks if condition is true, otherwise detailed message is written to std::err
(define DMK_ERROR_STREAM before including this header to redirect output)
Boolean type with optional error message (memory efficient - one pointer)
Fraction type used in time measurements.
Time-related functions and benchmarking.
Memory allocation etc.
GPL 2.0
- MSVC 2015
- GCC 4.8+
- Clang 3.5+