[Bug libstdc++/78231] Should std::sort use unqualifed iter_swap?

correaa at llnl dot gov gcc-bugzilla@gcc.gnu.org
Tue Nov 8 01:20:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78231

--- Comment #4 from Alfredo <correaa at llnl dot gov> ---
ok, thanks for the clarification. 
So algorithms on iterators that swap use `::std::iter_swap`? (I didn't know
that.) That is step forward. 

Is then one allowed to overload/specialize `std::iter_swap`? Just like one does
with `swap`?


More information about the Gcc-bugs mailing list