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

--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> ---
Also, in std::shift_right:

std::move(std::move(__first), std::move(__dest_head),
          std::move(__result));
return __result;

we return the moved-out __result.

Reply via email to