3 ms·
About the 'constexpr if' introducing a scope, they did it volontary against the very good (and fun) proposal of Andrei Alexandrescu, so there must be arguments
by renox 5y ago
About the 'constexpr if' introducing a scope, they did it volontary against the very good (and fun) proposal of Andrei Alexandrescu, so there must be arguments against 'scopelesd constexpr if' even though I admit that I don't understand what they could be.. After all #if also doesn't introduce a scope!
- nicwilson 5y ago> they did it volontary [sic] That really undersells the `static if considered paper` which has got to be the most offensive standards paper I've read. > so there must be arguments against 'scopelesd constexpr if' I've yet to find any. What I don't understand is: you hardly ever need to introduce a scope with Ds `static if` and in the very rare cases you do it takes all of two keystrokes, but with C++ you are completely unable to get rid of the scope.
- gallier2 5y ago> That really undersells the `static if considered paper` which has got to be the most offensive standards paper I've read. Indeed. Never read something stinking so much of sour grapes from NIH-suffering old farts.
- WalterBright 5y agoBjarne wrote the rejection of mine, Andrei's, and Herb's proposal to include static if: https://isocpp.org/files/papers/n3613.pdf https://isocpp.org/files/papers/n3613.pdf
- mhh__ 5y agoAn awful paper