Proposal for SentinelInputRange

Jacob Carlborg doob at me.com
Thu Feb 28 07:02:41 PST 2013


On 2013-02-28 15:53, Steven Schveighoffer wrote:

> You are missing the point.  Empty is DEFINED as r.front == 0.  Adding a
> check for 0, would essentially lead to dead code (and technically, the
> compiler could trim it out).

Ah, right.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list