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

  /external/chromium_org/base/
stl_util.h 134 // STLElementDeleter (defined below), which ensures that your container's
135 // elements are deleted when the STLElementDeleter goes out of scope.
163 // STLElementDeleter<vector<MyProto *> > d(&tmp_proto);
171 class STLElementDeleter {
173 STLElementDeleter<T>(T* container) : container_(container) {}
174 ~STLElementDeleter<T>() { STLDeleteElements(container_); }
  /external/chromium/base/
stl_util-inl.h 226 // STLElementDeleter (defined below), which ensures that your container's
227 // elements are deleted when the STLElementDeleter goes out of scope.
255 // STLElementDeleter<vector<MyProto *> > d(&tmp_proto);
263 template<class STLContainer> class STLElementDeleter {
265 STLElementDeleter<STLContainer>(STLContainer *ptr) : container_ptr_(ptr) {}
266 ~STLElementDeleter<STLContainer>() { STLDeleteElements(container_ptr_); }

Completed in 51 milliseconds