Namensräume
Varianten

std::queue

Aus cppreference.com
< cpp‎ | container


 
 
 
std :: Warteschlange
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.
queue::queue
queue::~queue
queue::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.
queue::front
queue::back
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.
queue::empty
queue::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.
queue::push
queue::emplace
queue::pop
queue::swap
 
definiert in Header <queue>
template<

    class T,
    class Container =std::deque<T>

>class queue;

Die std::queue Klasse ist ein Container-Adapter, der dem Programmierer die Funktionalität einer Warteschlange bereitstellt - insbesondere die einer FIFO (first-in, first-out)-Datenstruktur.

Inhaltsverzeichnis

[Bearbeiten]Mitglied Typen

Mitglied Typ
Original:
Member type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
container_typeContainer[edit]
value_typeContainer::value_type[edit]
size_typeContainer::size_type[edit]
referenceContainer::reference[edit]
const_referenceContainer::const_reference[edit]

[Bearbeiten]Member-Funktionen

konstruiert die queue
(öffentliche Elementfunktion)[edit]
zerstört die queue
(öffentliche Elementfunktion)[edit]
weist Werte auf den Behälter-Adapter
Original:
assigns values to the container adaptor
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]
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.
Zugriff auf das erste Element
Original:
access 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.

(öffentliche Elementfunktion)[edit]
Zugriff auf das letzte Element
(öffentliche Elementfunktion)[edit]
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.
prüft, ob das zugrunde liegende Behälter leer ist
Original:
checks whether the underlying container is empty
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]
liefert die Anzahl der Elemente
Original:
returns the number of elements
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]
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.
inserts element at the end
(öffentliche Elementfunktion)[edit]
(C++11)
constructs element in-place at the end
(öffentliche Elementfunktion)[edit]
entfernt das erste Element
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.

(öffentliche Elementfunktion)[edit]
tauscht die Inhalte
Original:
swaps the contents
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]

Mitglied widerspricht
Original:
Member objects
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Container c
die zugrunde liegenden Behälter
Original:
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.

(geschützt Member-Objekt)[edit]

[Bearbeiten]Non-Member-Funktionen

lexikographischer Vergleich der Werte in queue
(Funktions-Template)[edit]
spezialisiert die std::swap Algorithmus
Original:
specializes the std::swap algorithm
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktions-Template)[edit]

[Bearbeiten]Helper-Klassen

spezialisiert die std::uses_allocator Typ Merkmal
Original:
specializes the std::uses_allocator type trait
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktions-Template)[edit]
close