Re: [patch] Fix libstdc++/51626

2011-12-21 Thread Jonathan Wakely
On 19 December 2011 22:39, Jonathan Wakely wrote: > We don't have allocator_traits in 4.6 so this patch adds a test for > whether we can call allocator::construct(p) with a single argument and > calls _Construct(p) if not. > >        PR libstdc++/51626 >        * include/bits/stl_uninitialized.h (_

[patch] Fix libstdc++/51626

2011-12-19 Thread Jonathan Wakely
We don't have allocator_traits in 4.6 so this patch adds a test for whether we can call allocator::construct(p) with a single argument and calls _Construct(p) if not. PR libstdc++/51626 * include/bits/stl_uninitialized.h (_Construct_default_a): Define overloaded functions t