Range Redesign: Copy Semantics

Paul Backus snarwin at gmail.com
Sun Jan 21 17:48:29 UTC 2024


On Sunday, 21 January 2024 at 14:51:33 UTC, Paul Backus wrote:
>
> With the proposed design, it would be possible to implement 
> next() for forward ranges as a UFCS function:
>
>     auto next(FR)(FR fr)

Correction: fr should be passed by ref (or maybe auto ref).


More information about the Digitalmars-d mailing list