Sintaxe:
#include <string> reverse_iterator rend(); const_reverse_iterator rend() const;
A função rend() devolve um iterador reverse (reverse_iterator) para o início da string actual. rend() corre em tempo constante.
Tópicos Relacionados: begin, end, rbegin