◐ Shell
clean mode source ↗

std::back_insert_iterator::operator= — cppreference.com

De cppreference.com

<metanoindex/>

<metanoindex/>

<tbody> </tbody>

back_insert_iterator<Container>& operator=( const typename Container::value_type& value );

(1)

back_insert_iterator<Container>& operator=( typename Container::value_type&& value );

(2)

Insère le value valeur donnée au conteneur .

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))

Paramètres

value -

la valeur à insérer

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.

Retourne la valeur

*this

Exemple