Super-dee-duper D features

kris foo at bar.com
Tue Feb 13 15:43:10 PST 2007


Bill Baxter wrote:
> Frits van Bommel wrote:
>> By the way, would the new loop syntax allow more than two collections 
>> to be simultaneously iterated?
> 
> 
> Whoa!  I certainly hope so.  It hadn't even occurred to me that Andrei 
> might mean this syntax can only be used for just two collections.  If 
> that's the case then ... ick.
> 
> --bb

InterleavedIterator does multiple collections via using multiple 
instances of InterleavedIterator. It's simple to use, and only needs to 
be written once. Would be better to implement some basic iterator needs 
than to introduce some tricky new syntax?

- Kris



More information about the Digitalmars-d mailing list