if consteval in C++23 — The Complete Deep Dive
C++20 gave us consteval functions — functions that are guaranteed to run only at compile time. C++20 also gave us if constexpr — a way to branch at compile time based on a constant expression. But the
moderncppguide.hashnode.dev35 min read