Accessing members through pointers to structs (also, CTFE associative arrays)

Ali via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 13 13:21:34 PST 2016


On Tuesday, 13 December 2016 at 21:08:31 UTC, drug007 wrote:
> (*d.room).name

Oh yeah, tried that too. That at least compiles but gives a 
runtime exception (bad address).




More information about the Digitalmars-d-learn mailing list