sortUniq

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 24 10:47:04 PST 2015


On 1/24/15 10:41 AM, zeljkog wrote:
> On 24.01.15 19:35, Andrei Alexandrescu wrote:
>> On 1/24/15 9:34 AM, zeljkog wrote:
>>> On 24.01.15 18:26, zeljkog wrote:
>>>>
>>>> Until now I concluded:
>>>> 1. Resulting range must be output range. Right?
>>> Should be input range.
>>
>> For filter it's a forward range if input is forward or better. -- Andrei
>>
>
> But here there is potential problem with shared state after save?

It's not a problem - save saves the state of the iteration, not the data 
being iterated. -- Andrei



More information about the Digitalmars-d mailing list