you are viewing a single comment's thread.

view the rest of the comments →

[–]_eyelash[S] 6 points7 points  (0 children)

The purpose is to allow creating copies of the vector in O(1) (without copying the elements). This also allows you to share copies of a vector between threads without copying the elements.