Modern C++ in small pieces: constant expressions
Jul 10, 2019 · Modern C++ introduces the constexpr specifier to allow declaring compile-time constant expressions. This allows the programmer to explicitly specify what should be computed at compile time, instead of guessing what might be optimized away as constant...
Join discussion