protocol for using InputRanges

Steven Schveighoffer schveiguy at yahoo.com
Mon Mar 31 04:50:49 PDT 2014


On Fri, 28 Mar 2014 00:58:35 -0400, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> Following the protocol empty-front-popFront always works.
>
> Where the differences come in is when people skip calling empty.

-- when it is known empty will return false through logical deduction.

-Steve


More information about the Digitalmars-d mailing list