mirror of https://github.com/CGAL/cgal
- Add rebind<>.
This commit is contained in:
parent
8d4fdd6a5b
commit
d4afc7f112
|
|
@ -35,6 +35,8 @@ class New_delete_allocator
|
||||||
typedef T& reference;
|
typedef T& reference;
|
||||||
typedef const T& const_reference;
|
typedef const T& const_reference;
|
||||||
|
|
||||||
|
template <class U> struct rebind { typedef New_delete_allocator<U> other; };
|
||||||
|
|
||||||
New_delete_allocator() {}
|
New_delete_allocator() {}
|
||||||
|
|
||||||
pointer
|
pointer
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,8 @@ class New_delete_allocator
|
||||||
typedef T& reference;
|
typedef T& reference;
|
||||||
typedef const T& const_reference;
|
typedef const T& const_reference;
|
||||||
|
|
||||||
|
template <class U> struct rebind { typedef New_delete_allocator<U> other; };
|
||||||
|
|
||||||
New_delete_allocator() {}
|
New_delete_allocator() {}
|
||||||
|
|
||||||
pointer
|
pointer
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue