Share via


basic_string::crend

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

const_reverse_iterator crend() const;

Return Value

A const reverse iterator that addresses the location succeeding the last element in a reversed string (the location that had preceded the first element in the unreversed string).

Requirements

Header: <string>

Namespace: std

See Also

Reference

basic_string Class

<string>