1 #ifndef Tracker_ChurnAllocator_H
2 #define Tracker_ChurnAllocator_H
8 using Base = std::allocator<T>;
9 using pointer =
typename Base::pointer;
18 static thread_local
Cache local;
22 template <
typename _Tp1>
30 c.
cache = std::allocator<T>::allocate(n, hint);
40 std::allocator<T>::deallocate(p, n);
churn_allocator(const churn_allocator< U > &a) noexcept
typename Base::pointer pointer
churn_allocator< _Tp1 > other
const edm::EventSetup & c
pointer allocate(size_type n, const void *hint=nullptr)
typename Base::size_type size_type
void deallocate(pointer p, size_type n)
churn_allocator()=default