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

/external/libchrome/base/memory/
H A Dscoped_vector.h17 // ScopedVector wraps a vector deleting the elements from its
23 class ScopedVector { class
39 ScopedVector() {} function in class:ScopedVector
40 ~ScopedVector() { clear(); }
41 ScopedVector(ScopedVector&& other) { swap(other); } function in class:ScopedVector
43 ScopedVector& operator=(ScopedVector&& rhs) {
81 void swap(ScopedVector<T>& other) { v_.swap(other.v_); }
106 // Lets the ScopedVector tak
[all...]
/external/webrtc/webrtc/system_wrappers/include/
H A Dscoped_vector.h24 // ScopedVector wraps a vector deleting the elements from its
27 class ScopedVector { class in namespace:webrtc
43 ScopedVector() {} function in class:webrtc::ScopedVector
44 ~ScopedVector() { clear(); }
47 ScopedVector(ScopedVector&& other) { *this = std::move(other); } function in class:webrtc::ScopedVector
48 ScopedVector& operator=(ScopedVector&& other) {
56 ScopedVector(const ScopedVector
[all...]

Completed in 3192 milliseconds