2 ms·
It sounds fine from a C++ world of copy constructors. I think copy constructors aren't worth the exception safety downsides.
by barrkel 9y ago
It sounds fine from a C++ world of copy constructors. I think copy constructors aren't worth the exception safety downsides.
- mehrdadn 9y agoI don't understand. I asked why there is a mandatory branch, you said otherwise the pointer would need to change on every copy, I said that's fine, and now you rebutted that copying isn't even worth it? So what is the problem and where is the extra branch? I don't understand where the discussion is going.