3 ms·
You could use something like #ifdef NDEBUG #define MY_CONSTEXPR #else #define MY_CONSTEXPR constexpr so when you are running the debug build, everything is debu
by nurettin 9y ago
You could use something like #ifdef NDEBUG #define MY_CONSTEXPR #else #define MY_CONSTEXPR constexpr so when you are running the debug build, everything is debuggable.
- skrebbel 9y agoThat makes the compiler not complain when your constexpr isn't a valid constexpr.
- nurettin 9y agoUntil you make release