Property discussion wrap-up

Zach the Mystic reachBUTMINUSTHISzach at gOOGLYmail.com
Wed Jan 30 09:02:42 PST 2013


On Wednesday, 30 January 2013 at 06:46:01 UTC, H. S. Teoh wrote:
> That page only states the structs nested inside *functions* 
> have a
> context pointer to the function's local variables. It says 
> nothing about
> structs nested inside *structs*. (And yes, I looked. I was 
> actually in
> the middle of writing something about using structs to simulate
> properties, and decided to look it up to be sure, and found 
> that the
> spec actually doesn't say what I thought it said.)
>
>
> T

Okay, cool. Two questions remain: 1) How hard to implement 
structs nested in structs to mimic ones nested in functions? 2) 
How much code breakage?


More information about the Digitalmars-d mailing list