A solution would be to either restructure the code by moving the assignment out of the conditional and make it less readable or to add #pragmas and make the code even less readable. Any other suggestions? nlohmannadded improvement on Aug 17, 2016 nlohmann commented on Aug 17, 2016 ...