◐ Shell
clean mode source ↗

std::insert_iterator::operator= - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

insert_iterator<Container>& operator=( const typename 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;

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.

Valore di ritorno

*this

Esempio