Andrei Alexandrescu:
> If we want to allow people to create ranges that are classes (as opposed 
> to structs) the requirement for a save() function is a must. This is 
> because copying class ranges with
> Range copy = original;
> only creates a new alias for original; the two share the same state.

Do you mean a function to be called with the "dup" attribute?
Maybe such method can be called dup()?

Bye,
bearophile

Reply via email to