[phobos] Would you find a ByRef range useful?

Andrei Alexandrescu andrei at erdani.com
Thu May 19 15:34:34 PDT 2011


On 5/19/11 5:09 PM, Lars Tandle Kyllingstad wrote:
> It definitely needs to be fleshed out a bit, yes.  Right now it's
> sufficient for my uses, however, so I just thought I'd gauge the
> interest before making any improvements.

In fact byRef is a fairly general tool not limited to ranges. It could 
work by storing the address and implementing opDispatch to forward 
appropriately.

We need more evidence of its utility before making a decision.


Andrei


More information about the phobos mailing list