getNext
Mehrdad
wfunction at hotmail.com
Mon Jul 9 07:31:49 PDT 2012
On Monday, 9 July 2012 at 14:21:33 UTC, Andrei Alexandrescu wrote:
>> Huh? You don't... it's an input iterator, not an output
>> iterator!
>
> The idea of an input range is that it works seamlessly with the
> more capable ranges.
>
> Andrei
You mean 'foreach'? That should be using opApply if it wants to
take outputs by ref, not input range capabilities.
Or is there some other constructor you're referring to? Because I
don't see any overlap in the constructs between input and output
ranges.
More information about the Digitalmars-d
mailing list