3 ms·
You can absolutely write the same programs without std::move(), using out parameters for objects of expensive construction. Move semantics were introduced becau
by fluoridation 4y ago
You can absolutely write the same programs without std::move(), using out parameters for objects of expensive construction. Move semantics were introduced because they're a clear ergonomic win.
- PaulDavisThe1st 4y agoGotcha. Probably the best explanation I've seen, thanks for that.