2 points · by farnasirim · 5y ago · 0 comments
No comments yet.
Compile-time pre-calculations in C++
With C++17’s constexpr functions and C++20’s consteval specifier, it is easy to do compile-time calculations using templates and use them at run-time.
blog.farnasirim.com