Home | History | Annotate | Download | only in futures

Lines Matching defs:test_allocator

31 class test_allocator
36 template <class U> friend class test_allocator;
47 template <class U> struct rebind {typedef test_allocator<U> other;};
49 test_allocator() throw() : data_(-1) {}
50 explicit test_allocator(int i) throw() : data_(i) {}
51 test_allocator(const test_allocator& a) throw()
53 template <class U> test_allocator(const test_allocator<U>& a) throw()
55 ~test_allocator() throw() {data_ = 0;}
82 friend bool operator==(const test_allocator& x, const test_allocator& y)
84 friend bool operator!=(const test_allocator& x, const test_allocator& y)
89 class test_allocator<void>
94 template <class U> friend class test_allocator;
103 template <class U> struct rebind {typedef test_allocator<U> other;};
105 test_allocator() throw() : data_(-1) {}
106 explicit test_allocator(int i) throw() : data_(i) {}
107 test_allocator(const test_allocator& a) throw()
109 template <class U> test_allocator(const test_allocator<U>& a) throw()
111 ~test_allocator() throw() {data_ = 0;}
113 friend bool operator==(const test_allocator& x, const test_allocator& y)
115 friend bool operator!=(const test_allocator& x, const test_allocator& y)