diff options
author | Patrick Palka <ppalka@redhat.com> | 2020-02-11 10:45:26 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2020-02-12 16:30:19 -0500 |
commit | 99bbab9f77424c6387e7dfcba5c62937a8cff841 (patch) | |
tree | a33c115f8a7f1140315bbc2a2c186678fe1dd639 /gcc | |
parent | 02ce382cd323097f9d02fbf91e0a3f59ebcd3d30 (diff) | |
download | gcc-99bbab9f77424c6387e7dfcba5c62937a8cff841.zip gcc-99bbab9f77424c6387e7dfcba5c62937a8cff841.tar.gz gcc-99bbab9f77424c6387e7dfcba5c62937a8cff841.tar.bz2 |
libstdc++: Fix LWG issues 3389 and 3390
libstdc++-v3/ChangeLog:
LWG 3389 and LWG 3390
* include/bits/stl_iterator.h (move_move_iterator): Use std::move when
constructing the move_iterator with __i.
(counted_iterator::counted_iterator): Use std::move when initializing
M_current with __i.
* testsuite/24_iterators/counted_iterator/lwg3389.cc: New test.
* testsuite/24_iterators/move_iterator/lwg3390.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions