Namensräume
Varianten
Aktionen

std::stack::operator=

Aus cppreference.com
< cpp‎ | container‎ | stack

 
 
 
std :: stack
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.
stack::stack
stack::~stack
stack::operator=
Elementzugriff zerstört
Original:
Element access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::top
Kapazität
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::empty
stack::size
Modifiers
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::push
stack::emplace
stack::pop
stack::swap
 
stack<T, Container>&
operator=( const stack<T,Container>& other );
(1)
stack<T, Container>&
operator=( stack<T,Container>&& other );
(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.

Inhaltsverzeichnis

[Bearbeiten] 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.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Rückgabewert

*this

[Bearbeiten] 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.

[Bearbeiten] Siehe auch

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

(öffentliche Elementfunktion) [edit]