From: Paolo Carlini Date: Mon, 1 Dec 2003 15:34:07 +0000 (+0000) Subject: re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL... X-Git-Tag: releases/gcc-3.4.0~1998 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9dbaa9489f9671b98caf92c6d1f87589d4eb799d;p=thirdparty%2Fgcc.git re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections) 2003-12-01 Paolo Carlini PR libstdc++/10378 * include/bits/allocator.h (allocator::construct): Implement resolution of DR 402 [Ready] (in Revision 28). * include/bits/allocator_traits.h (__allocator::construct): Likewise. * include/bits/stl_construct.h (_Construct): Likewise. * testsuite/20_util/allocator_members.cc: Move to... * testsuite/20_util/allocator/1.cc: ... here. * testsuite/20_util/allocator/10378.cc: New. * docs/html/ext/howto.html: Add an entry for DR 402. From-SVN: r74104 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4ee7fd7967be..0a9e6729f93b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2003-12-01 Paolo Carlini + + PR libstdc++/10378 + * include/bits/allocator.h (allocator::construct): Implement + resolution of DR 402 [Ready] (in Revision 28). + * include/bits/allocator_traits.h (__allocator::construct): + Likewise. + * include/bits/stl_construct.h (_Construct): Likewise. + * testsuite/20_util/allocator_members.cc: Move to... + * testsuite/20_util/allocator/1.cc: ... here. + * testsuite/20_util/allocator/10378.cc: New. + * docs/html/ext/howto.html: Add an entry for DR 402. + 2003-11-30 Paolo Carlini * config/locale/gnu/codecvt_members.cc (codecvt::do_in, diff --git a/libstdc++-v3/docs/html/ext/howto.html b/libstdc++-v3/docs/html/ext/howto.html index 82930a80e9fe..c5e3e20d08c5 100644 --- a/libstdc++-v3/docs/html/ext/howto.html +++ b/libstdc++-v3/docs/html/ext/howto.html @@ -694,6 +694,12 @@
Change the format string to "%.0Lf".
+ +
402: + Wrong new expression in [some_]allocator::construct +
+
Replace "new" with "::new". +