std::insert_iterator::operator= - cppreference.com
Espaços nominais
Variantes
Ações

std::insert_iterator::operator=

De cppreference.com

<metanoindex/>

 
 
Biblioteca Iterator
Primitivas iterador
Original:
Iterator primitives
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Adaptadores de iterador
Original:
Iterator adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iteradores fluxo
Original:
Stream iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operações iterador
Original:
Iterator operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
Variar de acesso
Original:
Range access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
 
std::insert_iterator
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
insert_iterator::insert_iterator
insert_iterator::operator=
insert_iterator::operator*
insert_iterator::operator++
insert_iterator::operator++(int)
 
<tbody> </tbody>
insert_iterator<Container>& operator=( const typename Container::value_type& value );
(1)
insert_iterator<Container>& operator=( typename Container::value_type&& value );
(2)
Insere o value valor dado ao recipiente.
Original:
Inserts the given value value to the container.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1) Results in container->insert(iter, value); ++iter;
2) Results in container->insert(iter, std::move(value)); ++iter;

Parâmetros

value -
o valor a ser inserido
Original:
the value to insert
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

*this

Exemplo