Searched refs:container (Results 1 - 1 of 1) sorted by relevance
/art/runtime/base/ |
H A D | stl_util.h | 35 // For a range within a container of pointers, calls delete 54 // STLDeleteElements() deletes all the elements in an STL container and clears 55 // the container. This function is suitable for use with a vector, set, 56 // hash_set, or any other STL container which defines sensible begin(), end(), 59 // If container is null, this function is a no-op. 62 // using a container of std::unique_ptr, which ensures that your container's 63 // elements are deleted when the container goes out of scope. 65 void STLDeleteElements(T *container) { argument 66 if (container ! 120 IndexOfElement(const Container& container, const T& value) argument 128 RemoveElement(Container& container, const T& value) argument 136 ReplaceElement(Container& container, const T& old_value, const T& new_value) argument 144 ContainsElement(const Container& container, const T& value, size_t start_pos = 0u) argument [all...] |
Completed in 38 milliseconds