|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
REAL's version macros and the C++20 language-standard guard. More...
Macros | |
| #define | REAL_VERSION_MAJOR 2026 |
| Major version (the calendar year). | |
| #define | REAL_VERSION_MINOR 8 |
| Minor version (the calendar month). | |
| #define | REAL_VERSION_PATCH 17 |
| Patch version (the release count within the month). | |
| #define | REAL_STRINGIZE_IMPL(x) #x |
| Inner half of the two-level stringize: turns its argument into a string literal. | |
| #define | REAL_STRINGIZE(x) REAL_STRINGIZE_IMPL(x) |
Stringizes the expansion of x — what the second level buys. | |
| #define | REAL_VERSION_STRING |
| The version as "MAJOR.MINOR.PATCH" — derived from the three numeric macros. | |
REAL's version macros and the C++20 language-standard guard.
Zero dependency by design: only preprocessor #define / #error, never #include. Every public header includes this first, so the version macros are visible from any entry point (the umbrella real.hpp, the opt-in dfa.hpp, or any sub-header pulled in directly) and the standard guard is evaluated once per translation unit (the include guard deduplicates it). make release bumps the three numeric macros; REAL_VERSION_STRING is derived, never edited by hand.
| #define REAL_VERSION_STRING |
The version as "MAJOR.MINOR.PATCH" — derived from the three numeric macros.