std::basic_string::pop_back

From Cppreference

Jump to: navigation, search
void pop_back();
(C++11 feature)

Removes the last character from the string.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Complexity

Constant.

[edit] See also

push_back
inserts characters to the end
(public member function)