|
Cogs.Foundation
|
#include <cassert>#include <cstddef>#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | Cogs |
| Main Cogs namespace. | |
Macros | |
| #define | COGSFOUNDATION_API |
| #define | COGS_FOUNDATION_SIZE_T_LITERAL_SUFFIX 1 |
| #define | debug_assert(x) ((void)0) |
Functions | |
| constexpr size_t | operator""_uz (unsigned long long x) |
| Literal suffix for size_t type. | |
| template<typename ClassType , typename FieldType > | |
| size_t | Cogs::memberOffset (FieldType ClassType::*ptr) |
| Find the offset of a pointer to member in a class or struct. | |
| constexpr uint32_t | Cogs::make2CCLE (uint8_t a, uint8_t b) |
| constexpr uint32_t | Cogs::make2CCBE (uint8_t a, uint8_t b) |
| constexpr uint32_t | Cogs::make4CCLE (uint8_t a, uint8_t b, uint8_t c, uint8_t d) |
| constexpr uint32_t | Cogs::make4CCBE (uint8_t a, uint8_t b, uint8_t c, uint8_t d) |
| const char * | Cogs::getFoundationVersionString () |
| #define COGS_FOUNDATION_SIZE_T_LITERAL_SUFFIX 1 |
| #define COGSFOUNDATION_API |
| #define debug_assert | ( | x | ) | ((void)0) |
|
constexpr |
Literal suffix for size_t type.
Wrapped in ifndef to provide a way to avoid double definitions if cogs is included in projects where this is already defined.