HomeSort by relevance Sort by last modified time
    Searched defs:ScopedVector (Results 1 - 2 of 2) sorted by null

  /external/chromium/base/memory/
scoped_vector.h 14 // ScopedVector wraps a vector deleting the elements from its
17 class ScopedVector {
25 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/
scoped_vector.h 14 // ScopedVector wraps a vector deleting the elements from its
17 class ScopedVector {
18 MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector, RValue)
35 ScopedVector() {}
36 ~ScopedVector() { clear(); }
37 ScopedVector(RValue other) { swap(*other.object); }
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 take ownership of elements in [first,last)
    [all...]

Completed in 78 milliseconds