Lines Matching refs:CountingAllocator
32 class CountingAllocator;
33 // 'CountingAllocator' is an basic implementation of the 'Allocator'
220 class CountingAllocator
227 struct rebind { using other = CountingAllocator<U, ID>; };
229 CountingAllocator() = delete;
230 explicit CountingAllocator(AllocController& PP) : P(&PP) {}
232 CountingAllocator(CountingAllocator const& other) : P(other.P) {
236 CountingAllocator(CountingAllocator&& other) : P(other.P) {
241 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) {
246 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) {
279 template <class Tp, size_t XID> friend class CountingAllocator;
285 class CountingAllocator<void, ID>
293 struct rebind { using other = CountingAllocator<U, ID>; };
295 CountingAllocator() = delete;
296 explicit CountingAllocator(AllocController& PP) : P(&PP) {}
298 CountingAllocator(CountingAllocator const& other) : P(other.P) {
302 CountingAllocator(CountingAllocator&& other) : P(other.P) {
307 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) {
312 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) {
322 template <class Tp, size_t> friend class CountingAllocator;
327 inline bool operator==(CountingAllocator<T, ID> const& x,
328 CountingAllocator<U, ID> const& y) {
333 inline bool operator!=(CountingAllocator<T, ID> const& x,
334 CountingAllocator<U, ID> const& y) {