Forked from
redox-os / gcc
200345 commits behind, 69511 commits ahead of the upstream repository.
paolo
authored
PR libstdc++/20577 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap to swap when the iterator's reference_type is a reference to its value_type. * testsuite/25_algorithms/iter_swap/20577.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96837 138bc75d-0d04-0410-961f-82ee72b054a4