Espaços nominais
Variantes
Acções

std::back_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.
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::back_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.
back_insert_iterator::back_insert_iterator
back_insert_iterator::operator=
back_insert_iterator::operator*
back_insert_iterator::operator++
back_insert_iterator::operator++(int)
 
back_insert_iterator<Container>&
    operator=( const typename Container::value_type& value );
(1)
back_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->push_back(value)
2) Results in container->push_back(std::move(value))

[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