Rationale for classes as reference types
A Lahav
aviadlahav at gmail.com
Thu Aug 7 08:26:40 PDT 2008
Can anyone please explain the design rationale for classes being reference types exclusively?
I ask this because I really like my classes to be allocated on the stack or be value-type data members, the performance boost you get eliminiting all these unnecessary heap operations is entirely not neglible.
Otherwise I'll have a real problem considering D for my own use...
Thanks!
More information about the Digitalmars-d-learn
mailing list