Difference between revisions of "Container Ideas"
Line 20: | Line 20: | ||
|- | |- | ||
− | | rowspan=" | + | | rowspan="4"|Types |
!RangeType | !RangeType | ||
|- | |- | ||
Line 26: | Line 26: | ||
|- | |- | ||
!ElementType | !ElementType | ||
+ | |- | ||
+ | !KeyType | ||
|- | |- | ||
− | | rowspan=" | + | | rowspan="12"|Modify |
! insertFront(T) | ! insertFront(T) | ||
|- | |- | ||
Line 36: | Line 38: | ||
|- | |- | ||
! 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) | ||
|- | |- | ||
|} | |} |
Revision as of 15:20, 13 February 2013
Sequence | Associative | Special Access | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Container | Double Linked List | Single Linked List | Random Access | Map | Multimap | MapSet | Set | Stack | Queue | PriorityQueue | |
Types | 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) |