basic_string::cbegin

Returns a const iterator addressing the first element in the string.

const_iterator cbegin() const;

Return Value

A const random-access iterator that points at the first element of the string or the location succeeding an empty string.

Requirements

Header: <string>

Namespace: std

See Also

Reference

basic_string Class

<string>

Other Resources

basic_string Members

<string> Members