Semantics of toString
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Nov 11 08:24:55 PST 2009
Denis Koroskin wrote:
> Well, range doesn't own any of the contents it covers, so deep copy is
> impossible.
> Yet, there is also .dup array property which is pretends to be a
> standard way of creating instance copies.
Well so the second sentence contradicts the first. Let me put it another
way: you have the entire vocabulary at your disposal to define save().
Wouldn't you think clone() may be a bit more confusing than others?
Andrei
More information about the Digitalmars-d
mailing list