Difference between revisions of "cpp/string/basic string/pop back"
From cppreference.com
< cpp | string | basic string
m (Use since= and until= params of {{ddcl}} template.) |
(C++11: "no erase() or pop_back() throws any exceptions", C++14: "Throws: nothing") |
||
Line 15: | Line 15: | ||
===Complexity=== | ===Complexity=== | ||
Constant. | Constant. | ||
+ | |||
+ | ===Exceptions=== | ||
+ | (none) | ||
===See also=== | ===See also=== |
Revision as of 20:01, 19 March 2014
void pop_back(); |
(since C++11) | |
Removes the last character from the string.
Contents |
Parameters
(none)
Return value
(none)
Complexity
Constant.
Exceptions
(none)
See also
appends a character to the end (public member function) |