On 12/23/10 10:14 AM, Simen kjaeraas wrote:
Andrei Alexandrescu <[email protected]> wrote:http://www.dsource.org/projects/phobos/changeset/2231BTW, shouldn't range constructors call .save for forward ranges? This one certainly doesn't.
Currently higher-order ranges assume that the range passed-in is good to take ownership of. A range or algorithm should call save only in case extra copies need to be created.
Andrei
