struct in class access

js.mdnq js_adddot+mdng at gmail.com
Sat Dec 8 23:40:48 PST 2012


>
> ...
>
> A a;
>
> What is the address of A?
>
> What is the address of x inside A? (i.e., the struct inside A?)
>

I of course, mean a, which is why it's nice to have the ability 
to make an edit so I don't have to waste a post and/or someone 
else bloat the thread with "A is a class, not an object, go learn 
how to program!".



More information about the Digitalmars-d-learn mailing list