Hi, I believe that using if constexpr (debugFlag) has many benefits in comparison of #ifdef.
it is more readable IMHO
static analyzers see the code in condition block, so refactoring is simpler, compilation fails when code is not correct even when condition is false...
Hi, I believe that using
if constexpr (debugFlag)has many benefits in comparison of#ifdef.![Screenshot_20220328_122131](https://user-images.githubusercontent.com/309458/160378310-9eb404fa-848b-4784-a1fc-