Searched defs:ScopedVector (Results 1 - 2 of 2) sorted by relevance

/external/chromium/base/memory/
H A Dscoped_vector.h14 // ScopedVector wraps a vector deleting the elements from its
17 class ScopedVector { class
25 ScopedVector() {} function in class:ScopedVector
26 ~ScopedVector() { reset(); }
50 void swap(ScopedVector<T>& other) { v.swap(other.v); }
60 // Lets the ScopedVector take ownership of |x|.
65 // Lets the ScopedVector take ownership of elements in [first,last).
93 DISALLOW_COPY_AND_ASSIGN(ScopedVector);
/external/chromium_org/base/memory/
H A Dscoped_vector.h14 // ScopedVector wraps a vector deleting the elements from its
17 class ScopedVector { class
18 MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector, RValue)
35 ScopedVector() {} function in class:ScopedVector
36 ~ScopedVector() { clear(); }
37 ScopedVector(RValue other) { swap(*other.object); } function in class:ScopedVector
39 ScopedVector& operator=(RValue rhs) {
70 void swap(ScopedVector<T>& other) { v_.swap(other.v_); }
95 // Lets the ScopedVector take ownership of |x|.
100 // Lets the ScopedVector tak
[all...]

Completed in 134 milliseconds