Difference between revisions of "Container Ideas"

From D Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
== Variable Implementation ==
 +
 +
== Methods ==
 +
 
{| class="wikitable"
 
{| class="wikitable"
 
| colspan="2"|
 
| colspan="2"|

Revision as of 22:50, 13 February 2013

Variable Implementation

Methods

Sequence Associative Special Access
Container Double Linked List Single Linked List Random Access Map Multimap MapSet Set Stack Queue PriorityQueue
Types Type
RangeType
cRangeType
ElementType
KeyType
Modify insertFront(T)
insertFront(T...)
insertBack(T)
insertBack(T...)
insertBefore(RangeType, T)
insertBefore(RangeType, T...)
insertAfter(RangeType, T)
insertAfter(RangeType, T...)
removeFront(size_t = 1)
removeBack(size_t = 1)
remove(KeyType)
remove(Range)
remove(ElementType)
clear()
Access front()
back()
opIndex(KeyType)
find(KeyType)
opSlice(KeyType)
opSlice(KeyType, KeyType)
in
Properties length
empty
Capacity capacity
compact
reserve
max_size