Referencer
HaraldZealot via Digitalmars-d
digitalmars-d at puremagic.com
Mon Nov 23 03:31:30 PST 2015
On Friday, 20 November 2015 at 19:53:23 UTC, HaraldZealot wrote:
> On Friday, 20 November 2015 at 18:48:51 UTC, Alex Parrill wrote:
>> On Friday, 20 November 2015 at 18:23:57 UTC, HaraldZealot
>> wrote:
>>
>> You say ranges are pass-by-value, but that's not entirely
>> true. Ranges themselves can be classes, or be made references
>> via std.range.refRange. Range elements can be made lvalues by
>> using ref functions [1].
>
> Possible refRange is what I was looking for. Thanks.
>
Unfortunately current RefRange and refRange implementation
doesn't work with out-range :( Ridiculous, because reference
semantic for out-range even is more important.
So I'm found myself at fork point which from my next work for
community is better:
* add support for out range in `RefRange`
* or implement further my universal referencer?
More information about the Digitalmars-d
mailing list