S
Scott Meyers
Draft C++0x specifies that vector, string, and deque offer a shrink_to_fit
member function. They all have more or less the same specification; this is
for vector:
What are the effects, if any, on iterators, pointers, and references into a
container on which shrink_to_fit is invoked? I can't find any information on
this point in the draft.
Thanks,
Scott
member function. They all have more or less the same specification; this is
for vector:
shrink_to_fit is a non-binding request to reduce capacity() to size().
What are the effects, if any, on iterators, pointers, and references into a
container on which shrink_to_fit is invoked? I can't find any information on
this point in the draft.
Thanks,
Scott