Better allocator rebind support

This commit is contained in:
Daniel James committed 2016-10-14 09:27:40 +01:00
1 parent 04607dc9f3
commit da6e8e8041
3 files changed
+72 -7

No files matched your search

+1 -1
View File
@@ -447,7 +447,7 @@ namespace minimal
{
public:
typedef T value_type;
template <class U> struct rebind { typedef cxx11_allocator<U> other; };
//template <class U> struct rebind { typedef cxx11_allocator<U> other; };
cxx11_allocator() {}
template <class Y> cxx11_allocator(cxx11_allocator<Y> const&) {}