[Bug libstdc++/51960] [DR 2127] Missing move-assignment operator in raw_storage_iterator
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 15:56:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51960
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Dec 7 15:55:39 2016
New Revision: 243358
URL: https://gcc.gnu.org/viewcvs?rev=243358&root=gcc&view=rev
Log:
libstdc++/51960 move-construction for raw_storage_iterator
Backport from mainline
2016-08-26 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/51960
* doc/xml/manual/intro.xml: Document DR 2127 change.
* doc/html/*: Regenerate.
* include/bits/stl_raw_storage_iter.h (operator=(_Tp&&)): Add.
(operator++(), operator++(int)): Use injected class name.
* testsuite/20_util/raw_storage_iterator/dr2127.cc: New test.
Added:
branches/gcc-6-branch/libstdc++-v3/testsuite/20_util/raw_storage_iterator/dr2127.cc
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/doc/html/manual/bugs.html
branches/gcc-6-branch/libstdc++-v3/doc/xml/manual/intro.xml
branches/gcc-6-branch/libstdc++-v3/include/bits/stl_raw_storage_iter.h
More information about the Gcc-bugs
mailing list