◐ Shell
clean mode source ↗

std::reverse_iterator::operator[] - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

/*unspecified*/ operator[]( difference_type n ) const;

Retorna uma referência para o elemento na posição relativa especificada.

Original:

Returns a reference to the element at specified relative location.

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

Parâmetros

n -

posição em relação à posição actual .

Original:

position relative to current location.

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

A referência para o elemento na posição relativa, isto é, current[-n-1].

Original:

A reference to the element at relative location, that is, current[-n-1].

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

Exemplos

Veja também

acessa o elemento apontou-a

Original:

accesses the pointed-to element

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]