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

--- Comment #10 from 康桓瑋 <hewillk at gmail dot com> ---
For non-std::sample branches, we still have to consider that _Out only works
with its difference_type, so an explicit casting is missing here.

1580 |             return __out + __sample_sz;
     |                    ~~~~~~^~~~~~~~~~~~~

https://godbolt.org/z/T4s99GMrP

Reply via email to