REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
version.hpp File Reference

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   10
 Minor version (the calendar month).
 
#define REAL_VERSION_PATCH   10
 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.
 

Detailed Description

REAL's version macros and the C++20 language-standard guard.

Must stay include-free (only #define / #error): headers include it first, so the macros and the standard guard reach every entry point. make release bumps the three numeric macros; REAL_VERSION_STRING is derived.

Macro Definition Documentation

◆ REAL_VERSION_STRING

#define REAL_VERSION_STRING
Value:
REAL_STRINGIZE(REAL_VERSION_MINOR) "." \
REAL_STRINGIZE(REAL_VERSION_PATCH)
#define REAL_VERSION_MINOR
Minor version (the calendar month).
Definition version.hpp:27
#define REAL_VERSION_MAJOR
Major version (the calendar year).
Definition version.hpp:25
#define REAL_VERSION_PATCH
Patch version (the release count within the month).
Definition version.hpp:29
#define REAL_STRINGIZE(x)
Stringizes the expansion of x — what the second level buys.
Definition version.hpp:37

The version as "MAJOR.MINOR.PATCH" — derived from the three numeric macros.