This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "self" keyword


"Rick C. Hodgin" <foxmuldrster@yahoo.com> writes:

> I was thinking C and C++.
>
> int myclass::foo(int a)
> {
>     // recursion
>     self(a + 1);
> }
>
> Just out of curiosity, why wouldn't it be accepted back into mainline?

In general these days GCC discourages language extensions.  They would
have to have a compelling advantage.  I don't see that here.  Even if I
did, I would recommend running it through a language standards body
first.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]