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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-07-22
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Pilar Latiesa from comment #0)
> +               auto __d1 = ranges::distance(__first1, __last1);
> +               auto __d2 = ranges::distance(__first2, __last2);
> +               auto __n = std::min(__d1, __d2);

This won't compile if __d1 and __d2 have different types.

But the idea is certainly worth considering.

Reply via email to