Allocator concept requires copy assignment.

This commit is contained in:
Ion Gaztañaga committed 2016-08-29 00:05:50 +02:00
1 parent b6dbb1cb09
commit 6ccf9dacae
4 files changed
+1 -9

No files matched your search

-3
View File
@@ -113,9 +113,6 @@ class allocator
template<class T2, unsigned int Version2, unsigned int AllocationDisableMask2>
allocator& operator=(const allocator<T2, Version2, AllocationDisableMask2>&);
//Not assignable from other allocator
allocator& operator=(const allocator&);
static const unsigned int ForbiddenMask =
BOOST_CONTAINER_ALLOCATE_NEW | BOOST_CONTAINER_EXPAND_BWD | BOOST_CONTAINER_EXPAND_FWD ;