MCPcopy Create free account
hub / github.com/HexHive/NASS / erase

Method erase

binderlib/include_android9/utils/SortedVector.h:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 inline void reserve(size_t n) { setCapacity(n); }
138 inline bool empty() const{ return isEmpty(); }
139 inline iterator erase(iterator pos) {
140 ssize_t index = removeItemsAt(pos-array());
141 return begin() + index;
142 }
143
144protected:
145 virtual void do_construct(void* storage, size_t num) const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected