chore: implement TR_CONSTEXPR23 (#7649)

This commit is contained in:
Yat Ho
2025-10-15 00:52:03 +08:00
committed by GitHub
parent 85301b16d5
commit bda8f7afd4

View File

@@ -17,9 +17,11 @@
#define TR_CONSTEXPR20
#endif
// Placeholder for future use.
// Can't implement right now because __cplusplus version for C++23 is currently TBD
#if __cplusplus >= 202302L // _MSVC_LANG value for C++23 not available yet
#define TR_CONSTEXPR23 constexpr
#else
#define TR_CONSTEXPR23
#endif
// ---