◐ Shell
clean mode source ↗

std::reverse_iterator::reverse_iterator - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

reverse_iterator();

(1)

explicit reverse_iterator( Iterator x );

(2)

template< class U > reverse_iterator( const reverse_iterator<U>& other );

(3)

Costruisce un nuovo adattatore iteratore.

Original:

Constructs a new iterator adaptor.

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

1)

Costruttore di default. current è valore inizializzato. Questo ha senso solo se le operazioni su un valore inizializzato Iterator fare anche un senso.

Original:

Default constructor. current is value-initialized. This makes sense only if operations on an value-initialized Iterator make also sense.

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

2)

current viene inizializzato con x.

Original:

current is initialized with x.

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

3)

Copia costruttore. L'iteratore sottostante viene inizializzato con quello di other.

Original:

Copy constructor. The underlying iterator is initialized with that of other.

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

Parametri

x -

iteratore di adattarsi

Original:

iterator to adapt

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

other -

adattatore iteratore da copiare

Original:

iterator adaptor to copy

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

Esempio

Vedi anche

assegna un altro iteratore

Original:

assigns another iterator

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


(metodo pubblico) [modifica]