On Sat, 11 Jun 2022, 10:00 Alejandro Colomar, <alx.manpa...@gmail.com>
wrote:

> Hi Jonathan,
>
> On 6/11/22 00:47, Jonathan Wakely wrote:
> >     Well, I'd argue the same reasons to remove it from C++.  Don't know
> how
> >     useful that feature is for C++, though.  I bet not much, but am not
> an
> >     expert in the language.
> >
> >
> > It's used in libstdc++ because I couldn't get an attribute to work in
> > any other location, because it isn't valid at other positions in a
> > constrained function template. So no, we can't remove it from C++.
> >
>
> Hmm, okay, not removable in C++.  I'm curious about the specific line of
> code, if you have it around and could link to it.  But C++ is huge, so
> anything is to be expected :)
>

https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libstdc%2B%2B-v3/include/bits/ranges_base.h;h=38db33fd2ce9ea4c2a2a11035e09f41ba008515c;hb=HEAD#l111

Reply via email to