std::valarray::operator= — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(1) | |
|
|
(2) | (depuis C++11) |
|
|
(3) | |
|
|
(4) | |
|
|
(5) | |
|
|
(6) | |
|
|
(7) | |
|
|
(8) | (depuis C++11) |
Remplace le contenu du tableau numérique .
Original:
Replaces the contents of the numeric array.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Copiez opérateur d'affectation. Remplace le contenu d'une copie du contenu des autres .
Original:
Copy assignment operator. Replaces the contents with a copy of the contents of other.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Déplacez opérateur d'affectation. Remplace le contenu avec ceux d'autres sémantique déplacer en utilisant (c'est à dire les données dans d'autres est déplacé d'autre dans ce tableau numérique). other est dans un état valide, mais non précisées par la suite .
Original:
Move assignment operator. Replaces the contents with those of other using move semantics (i.e. the data in other is moved from other into this numeric array). other is in valid, but unspecified state afterwards.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Attribue à chaque valeur dans le tableau de la valeur numérique de val .
Original:
Assigns each value in the numeric array the value of val.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
8)
Assigne le contenu de il liste d'initialisation. Equivalent à {{{1}}} .
Original:
Assigns the contents of initializer list il. Equivalent to {{{1}}}.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| other | - | un autre tableau numérique à assigner Original: another numeric array to assign The text has been machine-translated via Google Translate. |
| val | - | la valeur pour initialiser chaque élément de Original: the value to initialize each element with The text has been machine-translated via Google Translate. |
| il | - | initialiseur liste attribuer Original: initializer list to assign The text has been machine-translated via Google Translate. |
Retourne la valeur
*this
Exceptions
1)
(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.
3-8)
(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.