◐ Shell
clean mode source ↗

std::array::fill — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

void fill( const T& value );

(depuis C++11)

Affecte la valeur value donné à tous les éléments dans le conteneur .

Original:

Assigns the given value value to all elements in the container.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramètres

value -

la valeur à attribuer aux éléments

Original:

the value to assign to the elements

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

(Aucun)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Complexité

linéaire à la taille du récipient

Original:

linear in the size of the container

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.