Statements (47)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:C++_Standard_Library_container
|
| gptkbp:compatibleWith |
random access
|
| gptkbp:complexity |
O(n) access by index
O(1) insertion and removal |
| gptkbp:defaultAllocator |
std::allocator
|
| gptkbp:definedIn |
<list> header
|
| gptkbp:function |
gptkb:fire
clear end insert size sort back unique merge begin reverse empty remove splice pop_back pop_front push_back push_front rend erase rbegin remove_if |
| gptkbp:headerFile |
<list>
|
| gptkbp:introducedIn |
gptkb:C++98
|
| gptkbp:iteratorType |
bidirectional_iterator
|
| gptkbp:namespace |
std
|
| gptkbp:notable_for |
unlike std::forward_list, is doubly linked
unlike std::vector, does not provide contiguous storage |
| gptkbp:notableCollection |
doubly linked list
sequence container |
| gptkbp:parameter |
Allocator
T (element type) |
| gptkbp:standardizedBy |
gptkb:ISO_C++
|
| gptkbp:supports |
bidirectional iteration
constant time insertion and removal anywhere |
| gptkbp:threadSafe |
not thread safe
|
| gptkbp:uses |
frequent insertions and deletions
|
| gptkbp:bfsParent |
gptkb:std::vector
gptkb:C++_Standard_Library_iterators |
| gptkbp:bfsLayer |
8
|
| https://www.w3.org/2000/01/rdf-schema#label |
std::list
|