Перейти к основному содержимому
0

Этот урок пока на английском.

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.