Home | History | Annotate | Download | only in containers

Lines Matching full:container

35 // be sure to reserve() in the container up to the stack buffer size. Otherwise
36 // the container will allocate a small array which will "use up" the stack
44 // Backing store for the allocator. The container owner is responsible for
132 // initial capacity of the vector is based on. Growing the container beyond the
133 // stack capacity will transparently overflow onto the heap. The container must
146 // Allocator must be constructed before the container!
148 // Make the container use the stack allocation by reserving our buffer size
153 // Getters for the actual container.
158 // copy into a "real" container for longer-lived objects.
159 ContainerType& container() { return container_; }
160 const ContainerType& container() const { return container_; }
162 // Support operator-> to get to the container. This allows nicer syntax like:
249 this->container().assign(other->begin(), other->end());
254 this->container().assign(other->begin(), other->end());
260 T& operator[](size_t i) { return this->container().operator[](i); }
262 return this->container().operator[](i);