30 ms·
> not defining bloated operators Can you guarantee that for every 3rd party lib you use?
by leon_ 15y ago
> not defining bloated operators
Can you guarantee that for every 3rd party lib you use?
- SamReidHughes 15y agoWho cares about theoretical possibilities? The reality is that hidden object copies and bloated operators are not a real problem.
- dkersten 15y agoThen 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.