I am making great efforts to translate the macros of my projects to constant expressions that can be used with if constexpr . At the moment I have achieved almost satisfactory results doing some tricks with macros, I start defining macros...
Why not always use the reserved word constexpr when defining methods or functions? If he calculates everything he can in compilation and what does not, he finds it running, without causing error.