r263416 - in /branches/gcc-6-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Aug 8 15:40:00 GMT 2018
Author: redi
Date: Wed Aug 8 15:40:21 2018
New Revision: 263416
URL: https://gcc.gnu.org/viewcvs?rev=263416&root=gcc&view=rev
Log:
PR libstdc++/86734 use addressof in reverse_iterator::operator->
Backport from mainline
2018-07-30 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/86734
* include/bits/stl_iterator.h (reverse_iterator::operator->): Use
addressof (LWG 2188).
* testsuite/24_iterators/reverse_iterator/dr2188.cc: New test.
Added:
branches/gcc-6-branch/libstdc++-v3/testsuite/24_iterators/reverse_iterator/dr2188.cc
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/bits/stl_iterator.h
More information about the Gcc-cvs
mailing list