string::cbegin

Return an iterator to the beginning.

Synopsis

string::const_iterator
cbegin() const noexcept;

Description

If the container is empty, cend() is returned.

Complexity

Constant.

Exception Safety

No-throw guarantee.