File IO: C# streams VS iterators?

DDD dcb854d0bfb1 at f98b7c56a69c.anonbox.net
Thu Nov 7 16:57:39 PST 2013


I was watching a dconf talk about porting C# code to D. One thing 
that came up was there isn't anything like C# streams for D. 
Walter said he thinks iterators (unless I remember wrong) is 
superior. The speaker agreed but said it isn't a drop in 
replacement so that is an issue if you want to port.

I haven't access file in D and i'm completely confused. What are 
iterators in regards to file IO?


More information about the Digitalmars-d-learn mailing list