still confused about call by reference

Hoenir mrmocool at gmx.de
Wed Oct 31 16:39:48 PDT 2007


> Object types in D are indeed reference types
> 
http://www.digitalmars.com/d/1.0/struct.html tells the following:
"Whereas classes are reference types, structs are value types."
so would I have to use the & operator?


More information about the Digitalmars-d-learn mailing list