cpp/string/basic string/begin

Returns an iterator to the first character of the string.

returns a mutable or constant iterator, depending on the constness of.

always returns a constant iterator. It is equivalent to.

Parameters
(none)

Return value
Iterator to the first character.

Complexity
Constant.