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

--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> ---
Same with is_permutation helper lambda __comp_scan in ranges_algo.h#L807:

auto __comp_scan = [&] <typename _Tp> (_Tp&& __arg) {
  return std::__invoke(__pred, __proj_scan,
      std::forward<_Tp>(__arg));
};

Reply via email to