Lines Matching defs:ScopedVector
25 // ScopedVector wraps a vector deleting the elements from its
28 class ScopedVector {
29 WEBRTC_MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector, RValue)
46 ScopedVector() {}
47 ~ScopedVector() { clear(); }
48 ScopedVector(RValue other) { swap(*other.object); }
50 ScopedVector& operator=(RValue rhs) {
87 void swap(ScopedVector<T>& other) { v_.swap(other.v_); }
112 // Lets the ScopedVector take ownership of |x|.
117 // Lets the ScopedVector take ownership of elements in [first,last).