Visibility of variables in struct nested within a class

bearophile bearophileHUGS at lycos.com
Mon Jul 8 01:55:10 PDT 2013


Charles Hixson:

> Is this the way things are supposed to happen?  (Changing the 
> struct to a class is an OK patch, but I don't understand why it 
> should either work or be necessary.)

Please show a complete very little program, and maybe someone 
will try to help you.

(Eventually it's a good idea to write a simple FAQ for D.learn, 
that also explains how to ask questions and how to give answers).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list