Home | History | Annotate | Download | only in Support

Lines Matching refs:Alloc

114 template<typename Alloc>
115 class GCFactoryBase : public Alloc
118 typedef DataIterator<typename Alloc::chunk_type,
120 typename Alloc::value_type> > iterator;
121 typedef DataIterator<typename Alloc::chunk_type,
123 typename Alloc::value_type> > const_iterator;
125 typedef typename Alloc::value_type value_type;
126 typedef typename Alloc::pointer pointer;
127 typedef typename Alloc::reference reference;
128 typedef typename Alloc::size_type size_type;
132 : Alloc(), m_NumAllocData(0)
136 : Alloc(pNum), m_NumAllocData(0)
141 { Alloc::clear(); }
145 value_type* result = Alloc::allocate(N);
153 return Alloc::allocate();
157 Alloc::deallocate(pPtr, N);
163 Alloc::deallocate(pPtr);
169 Alloc::reset();
175 { return iterator(Alloc::m_pRoot, 0); }
178 { return const_iterator(Alloc::m_pRoot, 0); }
181 return (0 == Alloc::m_pCurrent)?
183 iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound);
187 return (0 == Alloc::m_pCurrent)?
189 const_iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound);
194 { return Alloc::empty(); }
197 { return Alloc::max_size(); }