3 ms·
C++11 move semantics eliminates the need of deep copying in most cases and return by value usually is very cheap.
by T-zex 13y ago
C++11 move semantics eliminates the need of deep copying in most cases and return by value usually is very cheap.
- fauigerzigerk 13y agoBut move semantics only work with temporaries. They don't magically make every object a handle.
- marshray 13y agoFor that, there's Java.