std::insert_iterator::operator=

Da cppreference.com.

 
 
Biblioteca Iterator
Primitive iteratori
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
Adattatori iteratori
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
Flusso iteratori
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
Operazioni di iteratori
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)
Intervallo accesso
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
Membri funzioni
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=(consttypename Container::value_type& value );
(1)
insert_iterator<Container>&
    operator=(typename Container::value_type&& value );
(2)
Inserisce il value valore dato al contenitore.
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;

[modifica]Parametri

value -
il valore da inserire
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.

[modifica]Valore di ritorno

*this

[modifica]Esempio

close