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

/external/chromium_org/base/memory/
H A Dscoped_vector.h15 // ScopedVector wraps a vector deleting the elements from its
18 class ScopedVector { class
19 MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector, RValue)
36 ScopedVector() {} function in class:ScopedVector
37 ~ScopedVector() { clear(); }
38 ScopedVector(RValue other) { swap(*other.object); } function in class:ScopedVector
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 tak
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dscoped_vector.h25 // ScopedVector wraps a vector deleting the elements from its
28 class ScopedVector { class in namespace:webrtc
29 WEBRTC_MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector, RValue)
46 ScopedVector() {} function in class:webrtc::ScopedVector
47 ~ScopedVector() { clear(); }
48 ScopedVector(RValue other) { swap(*other.object); } function in class:webrtc::ScopedVector
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 tak
[all...]

Completed in 56 milliseconds