다음을 통해 공유


basic_string::pop_back

문자열의 마지막 요소를 지웁니다.

void pop_back();

설명

This member function effectively calls erase(size() - 1) to erase the last element of the sequence, which must be non-empty.

요구 사항

헤더: <string>

네임스페이스: std

참고 항목

참조

basic_string 클래스

<string>

기타 리소스

basic_string 멤버

<string> 멤버