2 ms·
> Again, maybe I've missed something, but this seems like a mistake. They're removing all of the footguns except this last one. Why? originally they weren't se
by jcelerier 7y ago
> Again, maybe I've missed something, but this seems like a mistake. They're removing all of the footguns except this last one. Why?
originally they weren't separated, but the risk for bad performance due to that was too high.
The complete rationale is described here : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1185r2.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p118...
- ohazi 7y agoThank you! This answers my original question. I guess all things considered, it's still not too bad. Two functions is better than 6+, and it looks like they'll be a lot harder to get wrong.
- jcelerier 7y ago> and it looks like they'll be a lot harder to get wrong. especially considering you can ` = default;` them, which should be enough a lot of times.