diff options
author | Paolo Carlini <pcarlini@suse.de> | 2003-12-01 15:34:07 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-12-01 15:34:07 +0000 |
commit | 9dbaa9489f9671b98caf92c6d1f87589d4eb799d (patch) | |
tree | 5b0afb3841c075eaec8f179b049a6ff4579b5fce /libstdc++-v3/docs | |
parent | ec22cdf1405e694fb9b1c9557e6ef20baa7f7e01 (diff) | |
download | gcc-9dbaa9489f9671b98caf92c6d1f87589d4eb799d.zip gcc-9dbaa9489f9671b98caf92c6d1f87589d4eb799d.tar.gz gcc-9dbaa9489f9671b98caf92c6d1f87589d4eb799d.tar.bz2 |
re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections)
2003-12-01 Paolo Carlini <pcarlini@suse.de>
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
Diffstat (limited to 'libstdc++-v3/docs')
-rw-r--r-- | libstdc++-v3/docs/html/ext/howto.html | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ </dt> <dd>Change the format string to "%.0Lf". </dd> + + <dt><a href="lwg-active.html#402">402</a>: + <em>Wrong new expression in [some_]allocator::construct</em> + </dt> + <dd>Replace "new" with "::new". + </dd> <!-- <dt><a href="lwg-defects.html#"></a>: <em></em> |