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

+3 -3
View File
@@ -201,9 +201,9 @@ namespace test
public move_allocator_base<Flags>,
Flags
{
template <typename U> struct rebind {
typedef cxx11_allocator<U, Flags> other;
};
//template <typename U> struct rebind {
// typedef cxx11_allocator<U, Flags> other;
//};
explicit cxx11_allocator(int t = 0)
: cxx11_allocator_base<T>(t)