Allocator concept requires copy assignment.

This commit is contained in:
Ion Gaztañaga
2016-08-29 00:05:50 +02:00
parent b6dbb1cb09
commit 6ccf9dacae
4 changed files with 1 additions and 9 deletions
-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 ;