stream == range ? [Sliding window]

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun May 31 14:13:53 PDT 2015


On 5/31/15 10:50 AM, Dmitry Olshansky wrote:
> 1. There must be a way to look at underlying buffer w/o copying anything.

bulkRead would be useful for unbuffered streams. The input range 
interface requires a 1-element (at least) buffer. Buffered ranges would 
indeed need more optional primitives. -- Andrei


More information about the Digitalmars-d mailing list