Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
basic_string::resize
void resize(size_type n, E c = E());
The member function ensures that size
()
henceforth returns n
. If it must lengthen the controlled sequence, it appends elements with value c
.
See the related sample program.