std::queue::operator= – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(1) | |
|
|
(2) | (seit C++11) |
Ersetzt den Inhalt des Behälters mit denen der Adapter other .
Original:
Replaces the contents of the container adaptor with those of other.
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 other. Effektiv nennt c = other.c;. (implizit deklariert)
Original:
Copy assignment operator. Replaces the contents with a copy of the contents of other. Effectively calls c = other.c;. (implizit deklariert)
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 denen other mit move-Semantik. Effektiv nennt c = std::move(other.c); (implizit deklariert)
Original:
Move assignment operator. Replaces the contents with those of other using move semantics. Effectively calls c = std::move(other.c); (implizit deklariert)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parameter
| other | - | ein weiterer Container-Adapter, der als Quelle verwendet werden Original: another container adaptor to be used as source The text has been machine-translated via Google Translate. |
Rückgabewert
*this
Komplexität
Äquivalent zu der {{{1}}} des darunterliegenden Behälters .
Original:
Equivalent to that of {{{1}}} of the underlying container.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.