Re: [v3] Fix allocator-aware container requirements for forward_list

2012-11-05 Thread Jonathan Wakely
This updates the debug-mode and profile-mode forward_list code to match my recent allocator changes to the default mode. It also adds checking for unswappable allocators, and fixes some tests that those new checks showed were broken. * include/profile/forward_list: Update to meet allocato

[v3] Fix allocator-aware container requirements for forward_list

2012-11-01 Thread Jonathan Wakely
This fixes the new LWG issue 2210 and only uses allocator::construct() for the elements not the nodes. 2012-11-02 Jonathan Wakely * include/bits/forward_list.h (forward_list(size_type)): Add missing allocator parameter. (_Fwd_list_node_base): Use NSDMI and define constr