Programming/C++ STL
std::string:npos
구차니
2025. 2. 5. 18:03
문자열의 끝까지를 의미하는 unsigned -1 값
std::string::find() 시에도 찾지 못하면 npos 값으로 -1을 리턴한다.