Property discussion wrap-up
Zach the Mystic
reachBUTMINUSTHISzach at gOOGLYmail.com
Tue Jan 29 21:34:25 PST 2013
On Wednesday, 30 January 2013 at 05:30:47 UTC, Zach the Mystic
wrote:
>>> I'm sorry for missing your point. I'm trying to suggest
>>> advanced language features without even knowing some of the
>>> basics. I ask you to bear with me.
>>
>> Wait, hold on there! This says otherwise:
>> http://dlang.org/struct.html
>>
>> So what's up? Who's wrong!?
>
> Okay, so now I'm really foolish! I think my ORIGINAL response,
> to use "outer", would actually make a lot of sense here!
> outer.outer.outer... ad infinitum. Not only, but when the
> struct has no data of its own, the compiler silently eliminates
> the pointer in question.
Or just your basic "no shadowing variables" rule to simplify,
simplify... I can totally dig that.
More information about the Digitalmars-d
mailing list