std::valarray::operator=
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. |
valarray<T>& operator=(const valarray<T>& other ); | (1) | |
valarray<T>& operator=( valarray<T>&& other ); | (2) | (dal C++11) |
valarray<T>& operator=(const T& val ); | (3) | |
valarray<T>& operator=(const std::slice_array&); | (4) | |
valarray<T>& operator=(const std::gslice_array&); | (5) | |
valarray<T>& operator=(const std::mask_array&); | (6) | |
valarray<T>& operator=(const std::indirect_array&); | (7) | |
valarray<T>& operator=(std::initializer_list<T> il ); | (8) | (dal C++11) |
Sostituisce il contenuto della matrice numerica.
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.
You can help to correct and verify the translation. Click here for instructions.
1)
Copia operatore di assegnazione. Sostituisce il contenuto con una copia del contenuto di altri.
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.
You can help to correct and verify the translation. Click here for instructions.
2)
Spostare operatore di assegnazione. Sostituisce il contenuto con quelli di altri semantica spostare con (vale a dire i dati in altro viene spostato da altri in questo array numerico).
other
è in stato valido, ma non specificato in seguito.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.
You can help to correct and verify the translation. Click here for instructions.
3)
Assegna ogni valore nella matrice numerica il valore di
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.
You can help to correct and verify the translation. Click here for instructions.
This section is incomplete |
8)
Assegna il contenuto di
il
inizializzatore lista. Equivalente a {{{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.
You can help to correct and verify the translation. Click here for instructions.
[modifica]Parametri
other | - | un altro array numerico per assegnare Original: another numeric array to assign The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||
val | - | il valore per inizializzare ciascun elemento con Original: the value to initialize each element with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
| ||
il | - | inizializzatore lista da assegnare Original: initializer list to assign The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica]Valore di ritorno
*this
[modifica]Eccezioni
1)
(Nessuno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
3-8)
(Nessuno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.