std::deque
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| definiert in Header <deque>
|
||
template< class T, class Allocator = std::allocator<T> > class deque; |
||
std::deque (double-ended queue) ist eine indizierte Sequenz Container, schnelles Einfügen und Löschen sowohl am Anfang und am Ende ermöglicht. Zusätzlich, Insertion und Deletion an jedem Ende eines deque nie ungültig Zeiger oder Verweise auf den Rest der Elemente .Original:
std::deque (double-ended queue) is an indexed sequence container that allows fast insertion and deletion at both the beginning and the end. In addition, insertion and deletion at either end of a deque never invalidates pointers or references to the rest of the elements.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Was std::vector Gegensatz sind die Elemente einer deque nicht zusammenhängend gespeichert: typische Implementierungen verwenden eine Reihe von individuell zugeordneten Arrays fester Größe .
Original:
As opposed to std::vector, the elements of a deque are not stored contiguously: typical implementations use a sequence of individually allocated fixed-size arrays.
The text has been machine-translated via