Home | History | Annotate | Download | only in memory

Lines Matching defs:ScopedVector

17 // ScopedVector wraps a vector deleting the elements from its
23 class ScopedVector {
39 ScopedVector() {}
40 ~ScopedVector() { clear(); }
41 ScopedVector(ScopedVector&& other) { swap(other); }
43 ScopedVector& operator=(ScopedVector&& rhs) {
81 void swap(ScopedVector<T>& other) { v_.swap(other.v_); }
106 // Lets the ScopedVector take ownership of |x|.
115 // Lets the ScopedVector take ownership of elements in [first,last).
144 DISALLOW_COPY_AND_ASSIGN(ScopedVector);