std::basic_string::push_back
From Cppreference
< cpp | string | basic string
void push_back( CharT ch );
|
||
Appends the given character ch to the end of the string.
Contents |
[edit] Parameters
ch | - | the character to append |
[edit] Return value
(none)
[edit] Complexity
Constant.
[edit] See also
|
removes the last character (public member function) |