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

Paul Backus snarwin at gmail.com
Wed Jun 24 16:32:46 UTC 2020


On Wednesday, 24 June 2020 at 16:17:58 UTC, Andrei Alexandrescu 
wrote:
> On 6/24/20 11:55 AM, Paul Backus wrote:
>> To be clear: I agree with you *in principle* that pure input 
>> ranges should be non-copyable.
>
> By what principle two input ranges should absolutely never use 
> the same data feed?

Point taken. An input range should either be non-copyable, or 
have reference semantics.


More information about the Digitalmars-d mailing list