Aller au contenu principal
0

Cette leçon est en anglais pour le moment.

Hand it over, don't copy it

Copying a vector of a million strings copies a million strings. Often you do not need the original any more, so why pay? Move semantics let one object take over the insides of another in a few pointer assignments.