Lines Matching refs:vector
48 #include <vector>
51 * Circular queue implemented on top of a standard vector. Instead of using
57 * - Capacity is the size of the underlying vector.
59 * - Head is the index in the vector of the first element of the queue.
60 * - Tail is the index in the vector of the last element of the queue.
66 * Comments may show depictions of the underlying vector in the following
67 * format: '|' delimit the 'cells' of the underlying vector. '-' represents
68 * an element of the vector that is out-of-bounds of the circular queue,
84 class CircularQueue : private std::vector<T>
87 using Base = std::vector<T>;
139 * standard std::vector<T>::iterator does not implement.
633 /** Return an iterator to an index in the vector.