3 ms·
> Also note that `if consteval` requires { } Changing the fundamental grammar is a step too far. Compilers can warn or reject bare statements in control struct
by kevin_thibedeau 5y ago
> Also note that `if consteval` requires { }
Changing the fundamental grammar is a step too far. Compilers can warn or reject bare statements in control structures if you want.
- mhh__ 5y agoD does if(__ctfe), not sure why C++ couldn't have just done that rather than adding yet moar syntax.