[Issue 8839] MmFile do not use Range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 30 16:31:47 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8839



--- Comment #10 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-10-30 16:31:46 PDT ---
Then save the range as a variable and use UFCS on that, or this would probably
work:

(cast(ubyte[])_file[_currentPosition .. _file.length]).countUntil!(a =>
isWhite(a))();

I really don't see not being able to use UFCS on the slice directly as a big
deal.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list