diff options
author | Patrick Palka <ppalka@redhat.com> | 2021-05-06 09:11:42 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2021-05-06 09:11:42 -0400 |
commit | 08f3287eefea1d7c244db795d018870e8148d1c8 (patch) | |
tree | 7f87f25a172b0a08b76bdcbcbcf6a96244cb4ac4 /gcc/fortran/trans-expr.c | |
parent | ee5361a16ddf478113dc5084d08b8c9ba9e4735e (diff) | |
download | gcc-08f3287eefea1d7c244db795d018870e8148d1c8.zip gcc-08f3287eefea1d7c244db795d018870e8148d1c8.tar.gz gcc-08f3287eefea1d7c244db795d018870e8148d1c8.tar.bz2 |
libstdc++: Implement LWG 3391 changes to move/counted_iterator::base()
libstdc++-v3/ChangeLog:
* include/bits/stl_iterator.h (move_iterator::base): Make the
const& overload unconstrained and return a const reference as
per LWG 3391. Make unconditionally noexcept.
(counted_iterator::base): Likewise.
* testsuite/24_iterators/move_iterator/lwg3391.cc: New test.
* testsuite/24_iterators/move_iterator/move_only.cc: Adjust
has_member_base concept to decay-copy the result of base().
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions