std.stream replacement

Johannes Pfau nospam at example.com
Thu Mar 7 04:28:15 PST 2013


Am Thu, 07 Mar 2013 07:07:25 -0500
schrieb "Steven Schveighoffer" <schveiguy at yahoo.com>:

> 
> The range interface and the stream interface are orthogonal.  There
> is no overlap.
> 
> -Steve

Exactly. There's also some precedent for this: C# Enumerators
(IEnumerator) are basically the same thing as input ranges
(current/front, moveNext/popFront) but C# has streams nevertheless. C++
also has iterators and streams.


More information about the Digitalmars-d mailing list