www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - BufferedInputRange revisited

While working on text processing again I made another
attempt at writing an InputRange buffer.

Instead of complex reference counting, that would be needed
to define save it only 'fixes' foreach, i.e. one can use
foreach to peek at the input range without actually
consuming input.

Mar 24 2012