Re:C++ 11 Approved
by SamReidHughes on Saturday August 13, 2011 @02:14PM
(#2881563)
It's very easy to avoid at least the problems you've mentioned by not making copyable objects and not defining bloated operators.
[ Parent
| on HN ]
> not defining bloated operators
Can you guarantee that for every 3rd party lib you use?
Then only use the ones that do guarantee this. You can also make use of C libraries, but still have access to some nice C++ features for your code.
Since C++ lets you omit language features until you basically have plain C, you get to choose what level of support you can live with.
Re:C++ 11 Approved
by SamReidHughes on Sunday August 14, 2011 @04:14PM
(#2884339)
Who cares about theoretical possibilities? The reality is that hidden object copies and bloated operators are not a real problem.