Report from the Croydon 2026 ISO C++ Committee meeting - mp-units
2mon 20d ago by lemmy.world/u/monica_b1998 in cpp@discuss.tchncs.de from mpusz.github.io
I was waiting for the expansion statements. I just wonder why they decided on the syntax template for instead of for constexpr or for consteval. Would be much more consistent IMO.
The main reason for the template keyword in the syntax is because the block is first parsed as a template, and then instantiated. This means you might have to use typename or template keywords in your code now.