Lines Matching refs:container
29 // be sure to reserve() in the container up to the stack buffer size. Otherwise
30 // the container will allocate a small array which will "use up" the stack
38 // Backing store for the allocator. The container owner is responsible for
123 // initial capacity of the vector is based on. Growing the container beyond the
124 // stack capacity will transparently overflow onto the heap. The container must
137 // Allocator must be constructed before the container!
139 // Make the container use the stack allocation by reserving our buffer size
144 // Getters for the actual container.
149 // copy into a "real" container for longer-lived objects.
150 ContainerType& container() { return container_; }
151 const ContainerType& container() const { return container_; }
153 // Support operator-> to get to the container. This allows nicer syntax like:
237 this->container().assign(other->begin(), other->end());
242 this->container().assign(other->begin(), other->end());
248 T& operator[](size_t i) { return this->container().operator[](i); }
250 return this->container().operator[](i);