[ Web Proxy ]
URL:
Viewing: https://fr.cppreference.com/cpp/container/queue/push [Back]  [Original]

std::queue::push cppreference.com
cppreference.com
Espaces de noms
Variantes

std::queue::push

De cppreference.com

<metanoindex/>

 
 
 
std :: file d'attente
Les fonctions membres
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.
queue::queue
queue::~queue
queue::operator=
Elment d'accs
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.
queue::front
queue::back
Capacit
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
queue::empty
queue::size
Modificateurs
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
queue::push
queue::emplace
queue::pop
queue::swap
 
<tbody> </tbody>
void push( const T& value );
void push( T&& value );
(depuis C++11)

Pushes the given element value to the end of the queue.

1) Effectively calls c.push_back(value)

2) Effectively calls c.push_back(std::move(value))

Paramtres

value -
la valeur de l'lment enfoncer
Original:
the value of the element to push
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Retourne la valeur

(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Complexit

Equal to the complexity of Container::push_back.

Voir aussi

(C++11)
construit des lments en mmoire la fin
(fonction membre publique) [edit]
supprime le premier lment
Original:
removes the first element
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]

Web Proxy Viewer  |  New URL  |  Original Page