1 #ifndef Tracker_ChurnAllocator_H 2 #define Tracker_ChurnAllocator_H 8 using Base = std::allocator<T>;
22 template <
typename _Tp1>
30 c.cache = std::allocator<T>::allocate(
n);
40 std::allocator<T>::deallocate(
p,
n);
churn_allocator(const churn_allocator< U > &a) noexcept
typename std::allocator_traits< std::allocator< T > >::pointer pointer
churn_allocator< _Tp1 > other
typename Base::size_type size_type
void deallocate(pointer p, size_type n)
churn_allocator()=default
pointer allocate(size_type n)