Searched defs:count_allocator (Results 1 – 2 of 2) sorted by relevance
18 struct count_allocator:std::allocator<T> struct22 struct rebind{typedef count_allocator<U> other;}; argument24 count_allocator(std::size_t& element_count,std::size_t& allocator_count): in count_allocator() argument27 count_allocator(const count_allocator<T>& x): in count_allocator() argument31 template<class U>count_allocator(const count_allocator<U>& x): in count_allocator() argument35 ~count_allocator() in ~count_allocator() argument38 count_allocator& operator=(const count_allocator<T>& x) in operator =() argument45 T* allocate(std::size_t n) in allocate()51 void deallocate(T* p,std::size_t n) in deallocate()57 std::size_t* pelement_count;[all …]
48 class count_allocator class60 count_allocator(){} in count_allocator() function in count_allocator61 count_allocator(const count_allocator<T>&){} in count_allocator() function in count_allocator62 template<class U>count_allocator(const count_allocator<U>&,int=0){} in count_allocator() function in count_allocator84 friend bool operator==(const count_allocator&,const count_allocator&) in operator ==()89 friend bool operator!=(const count_allocator&,const count_allocator&) in operator !=()96 class count_allocator<void> class