void pop_back(); | (since C++11) |
Removes the last character from the string.
Equivalent to erase(size()-1, 1)
, except the behavior is undefined if the string is empty.
(none).
(none).
Constant.
Does not throw.
appends a character to the end (public member function) |
|
removes characters (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/string/basic_string/pop_back