Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
string::end (1 of 2 overloads)

Return an iterator to the end.

Synopsis
iterator
end();
Description

Returns an iterator to the character following the last character of the string. This character acts as a placeholder, attempting to access it results in undefined behavior.

Complexity

Constant.

Exception Safety

No-throw guarantee.


PrevUpHomeNext