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

--- Comment #6 from Zhao Dai <daidodo at gmail dot com> ---
Thanks for the explanation, Jonathan!

I agree that `sized_sentinel_for` is the right way to check sized sentinel.

>From the source of `sized_sentinel_for`
(https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/iterator_concepts.h#L659),
my understanding is that `disable_sized_sentinel_for` is a "manual switch" for
sized sentinel. In that sense, it doesn't seem completely useless, though.

Anyway, thank you for picking this up!

Reply via email to