Questions tagged as 'constexpr'
Constant expressions to detect the presence and value of macros
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...
28.02.2017 / 12:50
Doubt about constexpr
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.
09.10.2018 / 22:25