How do you take the address of a struct in D?

Enjoys Math via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 5 15:53:15 PST 2016


SDL_RenderCopy(...) takes two pointers to SDL_Rect's,

I have a property method in another class returning the SDL_Rect 
equivalent of a Box (my structure).  Taking ampersand on the left 
of a call to the property does not give the address (&).




More information about the Digitalmars-d-learn mailing list