Optimizing compilers seek try to push as much of the computation as possible at compile time. C++20: consteval and constexpr functions by Daniel Lemire From the article: In modern C++, you can declare a function as ‘constexpr’, meaning that you state explicitly that the function may be executed at compile time. The constexpr qualifier is not mag…