std::move_iterator::move_iterator
De cppreference.com
<metanoindex/>
<tbody> </tbody> move_iterator(); |
(1) | |
explicit move_iterator( Iterator x ); |
(2) | |
template< class U > move_iterator( const move_iterator<U>& other ); |
(3) | |
Constrói um adaptador iterador novo.
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.
You can help to correct and verify the translation. Click here for instructions.
1)
Construtor padrão.
current valor é inicializado. Isso só faz sentido se as operações em um valor inicializado Iterator sentido também.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.
You can help to correct and verify the translation. Click here for instructions.
2)
current é inicializado com 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.
You can help to correct and verify the translation. Click here for instructions.
3)
Copie construtor. O iterador subjacente é inicializado com o 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.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| x | - | iterador para se adaptar
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 | - | adaptador iterador para copiar
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. |
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
