diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-13 22:48:43 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-14 10:55:50 +0100 |
commit | 03623fa91ff36ecb9faa3b55f7842a39b759594e (patch) | |
tree | 061355f4468d8f7ed2337a42c4f81ae87e12a7f6 /gcc/tree-vectorizer.h | |
parent | d8ef4471cb9c9f86784b62424a215ea42173bfe1 (diff) | |
download | gcc-03623fa91ff36ecb9faa3b55f7842a39b759594e.zip gcc-03623fa91ff36ecb9faa3b55f7842a39b759594e.tar.gz gcc-03623fa91ff36ecb9faa3b55f7842a39b759594e.tar.bz2 |
libstdc++: Use std::move for iterator in ranges::fill [PR117094]
Input iterators aren't required to be copyable.
libstdc++-v3/ChangeLog:
PR libstdc++/117094
* include/bits/ranges_algobase.h (__fill_fn): Use std::move for
iterator that might not be copyable.
* testsuite/25_algorithms/fill/constrained.cc: Check
non-copyable iterator with sized sentinel.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions