8 ms·
> staticif Or not appearing in the case of that one. Slightly before my time but I read the C++ papers considering it and they are a bit strange.
by mhh__ 5y ago
> staticif
Or not appearing in the case of that one. Slightly before my time but I read the C++ papers considering it and they are a bit strange.
- WalterBright 5y agostaticif has recently appeared in C++, just under a different name.
- mhh__ 5y agoThe solution C++ has - as Andrei says - is not the same thing as static if because it introduces a scope
- WalterBright 5y agoI thought they fixed that in the latest version, but I haven't been following it closely.