std::stack::push - cppreference.com
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>
|
|
||
|
|
(dal C++11) | |
Pushes the given element value to the top of the stack.
1) Effectively calls c.push_back(value)
2) Effectively calls c.push_back(std::move(value))
Parametri
| value | - | il valore dell'elemento di spingere Original: the value of the element to push The text has been machine-translated via Google Translate. |
Valore di ritorno
(Nessuno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Complessità
Equal to the complexity of Container::push_back.
Vedi anche
| constructs element in-place at the top (metodo pubblico) [modifica] | |
rimuove l'elemento superiore Original: removes the top element The text has been machine-translated via Google Translate. (metodo pubblico) [modifica] | |