Use constexpr for faster, smaller, and safer code
With C++14, the standards committee strengthened constexpr so developers can force constant expressions to be evaluated at compile time rather than at every invocation, which the author says yields faster execution, smaller executables, and safer code. The...