Ranges - Question about desing choices

Michal Minich via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 24 09:57:54 PDT 2015


On Monday, 24 August 2015 at 15:23:09 UTC, H. S. Teoh wrote:
>
> It's also useful in parsing algorithms to look at the current 
> item in the input without also consuming it.

I design I outlined the 'front' property could still be called 
multiple times. It is the 'empty' property that would be merged 
into 'bool popFront'.


More information about the Digitalmars-d-learn mailing list