Good name for f.byLine.map!(x => x.idup)?

H. S. Teoh hsteoh at quickfur.ath.cx
Sun Mar 16 21:25:14 PDT 2014


On Mon, Mar 17, 2014 at 05:10:00AM +0100, Marco Leise wrote:
> Am Sun, 16 Mar 2014 18:03:09 +0000
> schrieb "Adam D. Ruppe" <destructionator at gmail.com>:
> 
> > If byLine returned a scope item, then it wouldn't be allowed to 
> > escape and throw a nice compile error pointing people in the 
> > right direction.... scope rox so much i want it so badly.
> 
> Yes, pointers to working buffers are a frequent use case for
> "borrowed pointers".
[...]

Just out of curiosity: what's holding up the implementation of scope?
It's been a long while since everybody has been clamoring for scope;
isn't it about time we got our heads together to find a solution?


T

-- 
All problems are easy in retrospect.


More information about the Digitalmars-d mailing list