Array type conversion
torhu
fake at address.dude
Sat Apr 28 09:54:16 PDT 2007
Mark Burnett wrote:
Cline,
[http://www.parashift.com/c++-faq-lite/proper-inheritance.html#faq-21.4]
this is dangerous. Is this possibly a holdover from c++? It is
explicitly mentioned in the array page that they behave this way, so I
am not convinced that is the case.
I guess you're already aware that objects in D are reference types, so
the specific problem mentioned on that page does not apply? I you want
value types, you would use structs, which cannot be subclassed.
More information about the Digitalmars-d
mailing list