https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127918
--- Comment #4 from Jesse Connell <jesseconnell at gmail dot com> --- (In reply to Jonathan Wakely from comment #3) > I checked the rest of <algorithm>, <numeric>, and <memory>. This seems to be > the only place that's missing borrowed_iterator_t. > > The patch adds a redundant move, which shouldn't be needed. The new test has > a redundant <array> include. Otherwise this looks good, thanks. (In reply to Jonathan Wakely from comment #2) > Oh I think that's a single version ... I read it as three! > But yeah, it's not even the final GCC 16.1 release, or the subsequent 16.2, > and not current trunk (17.0.0). Thanks! Oops on <array> and extra move. I built/fixed trunk locally to make sure it was still missing and so didn't look closely that 16.1 is out of date.
