Feature Request: Expose the context pointer of nested classes, please
Jarrett Billingsley
kb3ctd2 at yahoo.com
Fri Sep 29 13:38:17 PDT 2006
"Pragma" <ericanderton at yahoo.removeme.com> wrote in message
news:efjrcf$ihv$1 at digitaldaemon.com...
> Tom S wrote:
>> Ivan Senji wrote:
>>> icee wrote:
>>>> Keyword for direct access of the outer from the inner of nested
>>>> classes, the "context pointer".
>>>
>>> I agree 100% on this. This is really missing. There is a workaround but
>>> it is IMO stupid to have to add a member to outer class that a inner
>>> class can access something it already contains (hidden).
>>
>> I second that. Frank Benoit has proposed the keyword 'outer' before and
>> I'm surprised the idea hasn't been adapted yet.
>
> Heh. Proves what /I/ know. I thought we *already* had it (I must be
> thinking in Java).
>
> It really should be in the language.
I fourth it.
More information about the Digitalmars-d
mailing list