std.v2020.algorithm etc[ WAS: Is run.d going to be expand for runtime and the phobos library?]

Stanislav Blinov stanislav.blinov at gmail.com
Wed Jun 24 20:05:27 UTC 2020


On Wednesday, 24 June 2020 at 16:25:31 UTC, Adam D. Ruppe wrote:
> I'm barely reading this thread, but could @live be useful with 
> input ranges too?

I don't think it can be, at least in its current form, but my 
reasoning behind making them non-copyable is pretty much the same 
as one behind @live and pointers: at any given moment, there can 
be only one owner of an input range's iteration state.
For some reason, Andrei equates that to not being able to read 
from the same source. ¯\_(ツ)_/¯


More information about the Digitalmars-d mailing list