[Issue 2120] scope class assignment doesn't copy the whole class content
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 21 09:11:43 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2120
------- Comment #1 from shro8822 at vandals.uidaho.edu 2008-05-21 11:11 -------
I don't think this isn't a bug (unless I'm missing something again). In D
classes use reference semantics and I don't /think/ that adding scope to the
variable declaration changes this. Adding scope to the class declaration OTOH
will (I think).
That said, I've never used scope so I may be off in the weeds.
--
More information about the Digitalmars-d-bugs
mailing list