Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Visual Studio 6.0
void resize(size_t n, const T& c = T());

The member function ensures that size() henceforth returns n. If it must lengthen the controlled sequence, it appends elements with value c. Any pointers or references to elements in the controlled sequence are invalidated.

© 2015 Microsoft