ref?

Nick Sabalausky a at a.a
Sun Feb 15 13:38:47 PST 2009


"Jerry Quinn" <jlquinn at optonline.net> wrote in message 
news:gn9i7n$2ujl$1 at digitalmars.com...
>
> Use a class when you have things that make sense to share, and use structs 
> for when it makes more sense to have distinct copies.
>

Couldn't that rule conflict with cases where you'd want distinct copies but 
need features of classes that aren't available for structs (like 
inheritance)? 





More information about the Digitalmars-d mailing list