Lines Matching refs:element

34    * Random-access iterator that points to some element in the container.
112 * Erases the last element in the vector. Invalid to call on an empty vector.
119 * Copy- or move-constructs an element onto the back of the vector. If the
124 * @param The element to push onto the vector.
125 * @return true if the element was pushed successfully.
127 bool push_back(const ElementType& element);
128 bool push_back(ElementType&& element);
131 * Constructs an element onto the back of the vector. All iterators and
136 * @return true if the element is constructed successfully.
142 * Obtains an element of the vector given an index. It is illegal to index
147 * @param The index of the element.
148 * @return The element.
153 * Obtains a const element of the vector given an index. It is illegal to
158 * @param The index of the element.
159 * @return The element.
166 * of the vectors element-by-element. The operator == should be defined and
167 * meaningful for the vector's element type.
200 * Inserts an element into the vector at a given index. If a resize of the
206 * to and after the indexed element are invalidated. Iterators and references
209 * @param index The index to insert an element at.
210 * @param element The element to insert.
213 bool insert(size_type index, const ElementType& element);
214 bool insert(size_type index, ElementType&& element);
243 * Removes an element from the vector given an index. All elements after the
248 * to and after the indexed element are invalidated.
250 * @param index The index to remove an element at.
255 * Searches the vector for an element.
257 * @param element The element to comare against.
258 * @return The index of the element found. If the return is equal to size()
259 * then the element was not found.
261 size_type find(const ElementType& element) const;
269 * @param index0 The index of the first element
270 * @param index1 The index of the second element
287 * of the calling code. While the vector may invoke the element destructor as
312 * Returns a reference to the first element in the vector. It is illegal to
315 * @return The first element in the vector.
320 * Returns a const reference to the first element in the vector. It is illegal
323 * @return The first element in the vector.
328 * Returns a reference to the last element in the vector. It is illegal to
331 * @return The last element in the vector.
336 * Returns a const reference to the last element in the vector. It is illegal
339 * @return The last element in the vector.
344 * Prepares a vector to push a minimum of one element onto the back. The