https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119820
Bug ID: 119820 Summary: Formatting ranges make a subrange via ranges::subrange (__first, __first + __n) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- The format ranges make a subrange via ranges::subrange __sub(__first, __first + __n);, where __n is a size_t. However, only iter_difference_t<decltype(__first)> is required to work with __first, not to mention that __n is also an unsigned type.