Re: [patch] Make std::deque meet C++11 allocator requirements

2014-09-12 Thread Jonathan Wakely
This follow-up patch tells the debug mode deque that its std::deque base class is a C++11 allocator aware container. Tested x86_64-linux, committed to trunk. commit 22ed11e31eb61d45f16b93b64b7b46e02e754b79 Author: Jonathan Wakely Date: Fri Sep 12 12:55:46 2014 +0100 * include/debug/deque

[patch] Make std::deque meet C++11 allocator requirements

2014-09-09 Thread Jonathan Wakely
This was a tricky one, because std::deque always has a map of nodes allocated, so needs to re-allocate in its move constructor. That makes move assignment complicated, as the rvalue object must be left in a valid state owning memory that can be freed by its (possibly moved-from) allocator. The _M