Lines Matching defs:ScopedVector
15 // ScopedVector wraps a vector deleting the elements from its
18 class ScopedVector {
19 MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector, RValue)
36 ScopedVector() {}
37 ~ScopedVector() { clear(); }
38 ScopedVector(RValue other) { swap(*other.object); }
40 ScopedVector& operator=(RValue rhs) {
77 void swap(ScopedVector<T>& other) { v_.swap(other.v_); }
102 // Lets the ScopedVector take ownership of |x|.
107 // Lets the ScopedVector take ownership of elements in [first,last).