Proposal for SentinelInputRange

timotheecour thelastmammoth at gmail.com
Wed Feb 27 18:10:12 PST 2013


>> how about a predicate isSentinel instead of a fixed sentinel 
>> value?
>> That'd allow more flexibility such as more than one sentinel 
>> value.
>
> Not usable in a switch/case statement.

why is that needed?


More information about the Digitalmars-d mailing list