protocol for using InputRanges
Steven Schveighoffer
schveiguy at yahoo.com
Mon Mar 31 04:45:31 PDT 2014
On Fri, 28 Mar 2014 22:23:29 -0400, Walter Bright
<newshound2 at digitalmars.com> wrote:
> On 3/28/2014 3:42 AM, Steven Schveighoffer wrote:
>>> I'm also curious what a generic read() should do when the stream is
>>> empty.
>>
>> Returns 0 elements read.
>
> Meaning it must also write through a pointer if it did read something.
>
> How is that faster than a 1 element buffer?
I don't understand this point/question.
-Steve
More information about the Digitalmars-d
mailing list