◐ Shell
clean mode source ↗

std::reverse_iterator::reverse_iterator — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

reverse_iterator();

(1)

explicit reverse_iterator( Iterator x );

(2)

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

(3)

Construit un nouvel itérateur adaptateur .

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)

Constructeur par défaut. current valeur est initialisée. Ce n'a de sens que si les opérations sur une valeur initialisée Iterator font aussi sens .

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 est initialisé avec 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)

Copiez constructeur. L'itérateur sous-jacente est initialisé avec celui de 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.

Paramètres

x -

itérateur de s'adapter

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 -

Adaptateur itérateur à copier

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.

Exemple

Voir aussi

assigne un autre itérateur

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.


(fonction membre publique) [edit]