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

--- Comment #3 from 康桓瑋 <hewillk at gmail dot com> ---
(In reply to 康桓瑋 from comment #2)
> (In reply to 康桓瑋 from comment #1)
> > Oh, I see, the reason is that std::ranges::__detail::__is_integer_like<bool>
> > is set to false since gcc-11.
> 
> This is just the implementation of LWG 3467.

I think the legality of std::views::iota(-100, false) is just an inadvertent of
LWG 3467.

Reply via email to