Espaços nominais
Variantes
Acções

std::insert_iterator::operator=

Da cppreference.com

 
 
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.
iterator_traits
input_iterator_tag
output_iterator_tag
forward_iterator_tag
bidirectional_iterator_tag
random_access_iterator_tag
iterator
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.
reverse_iterator
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.
istream_iterator
ostream_iterator
istreambuf_iterator
ostreambuf_iterator
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.
advance
distance
prev(C++11)
next(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.
begin(C++11)
end(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)
 
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;

[editar] 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.

[editar] Valor de retorno

*this

[editar] Exemplo