Espacios de nombres
Variantes
Acciones

std::stack::operator=

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

 
 
 
std :: pila
Las funciones miembro
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=
Elemento acceso
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
Capacidad
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
Modificadores
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) (desde C++11)
Reemplaza el contenido de la adaptador del recipiente con los de 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)
Copiar el operador de asignación. Reemplaza el contenido con una copia de los contenidos de other. Efectivamente llama c = other.c;. (implícitamente declarado)
Original:
Copy assignment operator. Replaces the contents with a copy of the contents of other. Effectively calls c = other.c;. (implícitamente declarado)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Mueva operador de asignación. Reemplaza el contenido con los de other utilizando la semántica de movimiento. Efectivamente llama c = std::move(other.c); (implícitamente declarado)
Original:
Move assignment operator. Replaces the contents with those of other using move semantics. Effectively calls c = std::move(other.c); (implícitamente declarado)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

other -
otro adaptador del recipiente para ser utilizado como fuente
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.

[editar] Valor de retorno

*this

[editar] Complejidad

Equivalente a la de {{{1}}} del contenedor subyacente .
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.

[editar] Ver también

construye el 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.

(miembro público función) [edit]