Q: How can I make a class act like a value type (such as struct)

Myron Alexander someone at somewhere.com
Sun May 27 14:42:53 PDT 2007


Carlos Santander wrote:
> You can use "private" et al. with structs too.
> 

Carlos,

I did not know that. The documentation says that hidden members are not 
a feature of structs, I took it to mean that private does not work. 
Having a DOH moment :)

Thanks.

Best regards,

Myron.


More information about the Digitalmars-d-learn mailing list