BloombergLP::bslstl::StringRefImp::rbegin

Return a reverse iterator to the last character of the string.

Synopsis

Declared in <bslstl_stringref.h>

StringRefImp<CHAR_TYPE>::const_reverse_iterator
rbegin() const;

Description

Return an STL-compatible reverse iterator to the last character of the string bound to this string reference or rend() if the string reference is empty. The iterator remains valid as long as this object is valid and is bound to the same string.

Return Value

reverse iterator to the last character, or rend() if empty