protocol for using InputRanges

Regan Heath regan at netmail.co.nz
Thu Mar 27 03:42:17 PDT 2014


On Thu, 27 Mar 2014 02:44:13 -0000, Daniel Murphy  
<yebbliesnospam at gmail.com> wrote:

> "Regan Heath"  wrote in message  
> news:op.xdb9a9v354xghj at puck.auriga.bhead.co.uk...
>
>> What guarantees range2 is longer than range1?  The isArray case checks  
>> explicitly, but the generic one doesn't.  Is it a property of being an  
>> output range that it will expand as required, or..
>
> Some ranges will give you their length...

Sure.  And generally you could use it.  copy() doesn't, and I was talking  
specifically about that example.  :)

R

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list