Share via


basic_string::cend

Returns a const iterator that addresses the location succeeding the last element in a string.

const_iterator cend() const;

Return Value

A random-access iterator that points just beyond the end of the string.

Requirements

Header: <string>

Namespace: std

See Also

Reference

basic_string Class

<string>

Other Resources

basic_string Members

<string> Members