◐ Shell
clean mode source ↗

std::array::fill - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

void fill( const T& value );

(desde C++11)

Atribui o value valor dado a todos os elementos do container.

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.

Parâmetros

value -

o valor a atribuir aos elementos

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.

Valor de retorno

(Nenhum)

Original:

(none)

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

Complexidade

linear no tamanho do recipiente

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.