다음을 통해 공유


basic_string::iterator

A type that provides a random-access iterator that can access and read a const element in the string.

typedef implementation-defined iterator;

설명

A type iterator can be used to modify the value of a character and is used to iterate through a string in a forward direction.

예제

See the example for begin for an example of how to declare and use iterator.

요구 사항

헤더: <string>

네임스페이스: std

참고 항목

참조

basic_string 클래스