From 9dbaa9489f9671b98caf92c6d1f87589d4eb799d Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 1 Dec 2003 15:34:07 +0000 Subject: 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 --- libstdc++-v3/docs/html/ext/howto.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libstdc++-v3/docs/html/ext') diff --git a/libstdc++-v3/docs/html/ext/howto.html b/libstdc++-v3/docs/html/ext/howto.html index 82930a8..c5e3e20 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". +