![]() |
Home | Libraries | People | FAQ | More |
Change the size of the string.
void resize( std::size_t count, char ch);
Resizes the string to contain count
characters. If count > size()
, copies of ch
are appended. Otherwise, size()
is reduced to count
.
Name |
Description |
---|---|
|
The size to resize the string to. |
|
The characters to append if the size increases. |
Type |
Thrown On |
---|---|
|
|