|
ADS
Algorithms and Data Structures
|
A vector with room for \( N \) items inside itself, beyond the book. More...
Files | |
| file | ADS/sequence/SmallVector.h |
| A vector with room for \( N \) items inside itself, beyond the book: the vector that doubles of section 4.2 [see ArraySequence.h] whose first \( N \) items need no memory of the allocator, so that the many short vectors of a structure (the children of a node, the arcs of a vertex, the items of a bucket) cost no allocation each and lie next to the object that holds them, at the price of \( N \) items of room in every vector. | |
Classes | |
| class | ADS::SmallVector< T, N, A > |
| a vector with room for \( N \) items inside itself More... | |
A vector with room for \( N \) items inside itself, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of sequences and lists.