◐ Shell
clean mode source ↗

std::map::rend, std::map::crend - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

reverse_iterator rend();

const_reverse_iterator rend() const;

const_reverse_iterator crend() const;

(desde C++11)

Retorna um iterador inverso para o elemento seguinte ao último elemento do recipiente invertido. Ele corresponde ao elemento que precede o primeiro elemento do recipiente não-invertida. Este elemento atua como um espaço reservado, tentando acessá-lo resulta em um comportamento indefinido.

Original:

Returns a reverse iterator to the element following the last element of the reversed container. It corresponds to the element preceding the first element of the non-reversed container. This element acts as a placeholder, attempting to access it results in undefined behavior.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

(Nenhum)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

inverter iterador para o elemento seguinte ao último elemento

Original:

reverse iterator to the element following the last element

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exceções

1-3)

Complexidade

Constante

Original:

Constant

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Veja também

retorna um iterador inverso ao início

Original:

returns a reverse iterator to the beginning

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(função pública membro) [edit]