Searched refs:Disposer (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | simple_ilist.h | 49 /// Disposer (such as \c std::default_delete<T>): \a removeAndDispose(), \a 178 template <class Cloner, class Disposer> 179 void cloneFrom(const simple_ilist &L2, Cloner clone, Disposer dispose) { 192 template <class Disposer> 193 void removeAndDispose(reference N, Disposer dispose) { 217 template <class Disposer> 218 iterator eraseAndDispose(iterator I, Disposer dispose) { 226 template <class Disposer> 227 iterator eraseAndDispose(iterator First, iterator Last, Disposer dispose) { 239 template <class Disposer> voi in splice() [all...] |
H A D | AllocatorList.h | 65 struct Disposer { struct 68 Disposer(AllocatorList &AL) : AL(AL) {} in Disposer() argument 136 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); in AllocatorList() 147 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); 197 return iterator(List.eraseAndDispose(I.wrapped(), Disposer(*this))); in erase() 202 List.eraseAndDispose(First.wrapped(), Last.wrapped(), Disposer(*this))); in erase() 205 void clear() { List.clearAndDispose(Disposer(*this)); } in clear() 206 void pop_back() { List.eraseAndDispose(--List.end(), Disposer(*this)); } in pop_back() 207 void pop_front() { List.eraseAndDispose(List.begin(), Disposer(*this)); } in pop_front()
|