[ Web Proxy ]
URL:
Viewing: https://de.cppreference.com/cpp/container/stack/operator%3D [Back]  [Original]

std::stack::operator= cppreference.com
cppreference.com
Namensrume
Varianten

std::stack::operator=

Aus cppreference.com

<metanoindex/>

 
 
 
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 zerstrt
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
Kapazitt
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
 
<tbody> </tbody>
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 Behlters 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.
You can help to correct and verify the translation. Click here for instructions.

Rckgabewert

*this

Komplexitt

quivalent zu der {{{1}}} des darunterliegenden Behlters .
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.

Siehe auch

konstruiert die stack
(ffentliche Elementfunktion) [edit]

Web Proxy Viewer  |  New URL  |  Original Page