This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r182600 - in /branches/gcc-4_6-branch/libstdc++...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 21 Dec 2011 18:35:42 -0000
- Subject: r182600 - in /branches/gcc-4_6-branch/libstdc++...
Author: redi
Date: Wed Dec 21 18:35:40 2011
New Revision: 182600
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182600
Log:
PR libstdc++/51626
* include/bits/stl_uninitialized.h (_Construct_default_a_impl): Define
overloaded functions to conditionally use allocator::construct.
(_Construct_default_a): Define to dispatch to appropriate
_Construct_default_a_impl overload.
(__uninitialized_default_a, __uninitialized_default_n_a): Use
_Construct_default_a.
* testsuite/20_util/allocator/51626.cc: New.
Added:
branches/gcc-4_6-branch/libstdc++-v3/testsuite/20_util/allocator/51626.cc
Modified:
branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
branches/gcc-4_6-branch/libstdc++-v3/include/bits/stl_uninitialized.h