Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Erases the last element of the string.
void pop_back();
Remarks
This member function effectively calls erase(size() - 1) to erase the last element of the sequence, which must be non-empty.
Requirements
Header: <string>
Namespace: std