cpp/string/basic string/resize

Resizes the string to contain characters.

If the current size is less than, additional characters are appended:

@1@ Initializes appended characters to ( if  is ). @2@ Initializes appended characters to.

If the current size is greater than, the string is reduced to its first elements.

Return value
(none)

Exceptions
std if. Any exceptions thrown by corresponding.