Namensräume
Varianten
Aktionen

std::valarray::operator=

Aus cppreference.com
< cpp‎ | numeric‎ | valarray

 
 
Numerik-Bibliothek
Gemeinsame mathematischen Funktionen
Floating-Point-Umgebung
Komplexe Zahlen
Numerische Arrays
Pseudo-Zufallszahlen
Compile-time rationale Arithmetik (C++11)
Generische numerische Operationen
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
std::valarray
Member-Funktionen
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Non-Member-Funktionen
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Helper-Klassen
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
valarray<T>& operator=( const valarray<T>& other );
(1)
valarray<T>& operator=( valarray<T>&& other );
(2) (seit 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) (seit C++11)
Ersetzt den Inhalt der numerischen Array .
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)
Kopieren Zuweisungsoperator. Ersetzt den Inhalt mit einer Kopie des Inhalts von anderen .
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)
Bewegen Zuweisungsoperator. Ersetzt den Inhalt mit anderen unter Verwendung Bewegung Semantik (dh die Daten in anderen ist von anderen in diese numerischen Array verschoben). other ist gültig, aber nicht näher Zustand danach .
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)
Weist jeden Wert in der numerischen Array der Wert 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)
Weist den Inhalt der Initialisierungsliste il. Entspricht {{{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.

[Bearbeiten] Parameter

other -
ein weiteres numerisches Array zuweisen
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 -
der Wert auf jedes Element mit initialisieren
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 -
Initialisierungsliste zuweisen
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.

[Bearbeiten] Rückgabewert

*this

[Bearbeiten] Ausnahmen

1)
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
noexcept specification:  
noexcept
  (seit C++11)
3-8)
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.