![]() |
Elementa v8.0.0
Minimalistic library for any C++ application (C++11 and up)
|
Diverse basic definitions for Elementa.

Macros | |
| #define | ELE_PRE_TOSTR_IMPL(x) #x |
| #define | ELE_PRE_TOSTR(x) ELE_PRE_TOSTR_IMPL(x) |
| Convert another macro result or token into a string. More... | |
| #define | ELE_PRE_NAME "Elementa" |
| Elementa library name. More... | |
| #define | ELE_PRE_VER_MAJOR 5 |
| Elementa version major number. More... | |
| #define | ELE_PRE_VER_MINOR 0 |
| Elementa version minor number. More... | |
| #define | ELE_PRE_VER_REV 0 |
| Elementa version revision number. More... | |
| #define | ELE_PRE_VERSIONSTR |
| Elementa whole version string. More... | |
Functions | |
| constexpr const char * | elementa::base::kYesNoCString (bool b) |
| User-friendly yes/no output. More... | |
Variables | |
| constexpr bool | elementa::base::kYes = true |
| Constant for "yes". More... | |
| constexpr bool | elementa::base::kNo = false |
| Constant for "no". More... | |
| #define ELE_PRE_TOSTR_IMPL | ( | x | ) | #x |
#include <elementa/base/definitions.h>
Definition at line 40 of file definitions.h.
| #define ELE_PRE_TOSTR | ( | x | ) | ELE_PRE_TOSTR_IMPL(x) |
#include <elementa/base/definitions.h>
Convert another macro result or token into a string.
x; then that is passed to the second level, which converts it into a string. Otherwise, the result of this macro when x is another define would be the string of that define name. Definition at line 47 of file definitions.h.
| #define ELE_PRE_NAME "Elementa" |
#include <elementa/base/definitions.h>
Elementa library name.
Definition at line 57 of file definitions.h.
| #define ELE_PRE_VER_MAJOR 5 |
#include <elementa/base/definitions.h>
Elementa version major number.
Definition at line 60 of file definitions.h.
| #define ELE_PRE_VER_MINOR 0 |
#include <elementa/base/definitions.h>
Elementa version minor number.
Definition at line 62 of file definitions.h.
| #define ELE_PRE_VER_REV 0 |
#include <elementa/base/definitions.h>
Elementa version revision number.
Definition at line 64 of file definitions.h.
| #define ELE_PRE_VERSIONSTR |
#include <elementa/base/definitions.h>
Elementa whole version string.
Definition at line 67 of file definitions.h.
|
constexpr |
#include <elementa/base/definitions.h>
User-friendly yes/no output.
Definition at line 85 of file definitions.h.
Referenced by elementa::adts::BaseFSM::to_string(), elementa::base::MultItImpl< Data >::to_string(), elementa::base::MultIterator< Data, BIDIR >::to_string(), and elementa::base::MultIterator< Data, true >::to_string().
|
constexpr |
#include <elementa/base/definitions.h>
Constant for "yes".
Definition at line 79 of file definitions.h.
|
constexpr |
#include <elementa/base/definitions.h>
Constant for "no".
Definition at line 82 of file definitions.h.