On 11/13/2015 12:25 PM, rsw0x wrote:
On Friday, 13 November 2015 at 17:01:34 UTC, Andrei Alexandrescu wrote:
I just submitted https://issues.dlang.org/show_bug.cgi?id=15328 which
is currently blocking my work on containers.
In brief the postblit isn't called upon calling
Range save() { return this; }
which of course is less than helpful.
Reductions of the example would be awesome - I reduced it a fair
amount compared to the initial code, but I'm sure someone without that
context could do a much better job.
Thanks,
Andrei
afaik that's RVO, isn't it?
The repro has a bug itself, I'll get back with one that's actually
supposed to pass. -- Andrei