Modern C++ in small pieces: constant expressions
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...
e.1byte.io