Subject: Re: [boost] Interest in flat_iterator for nested containers?
From: Jeffrey Hellrung (jhellrung_at_[hidden])
Date: 2009-09-28 15:48:06
Christoph Heindl wrote:
>> Clever! Though in this instance, the minimum is identical to the gcd, at
>> which point you could just assign the traversal tags to consecutive integers
> I'm not sure if I understood you correctly: Assigning, for example,
> 1:readable, 2:single pass and 3:forward iterable would yield
> 1:readable for the gcd of 2:single pass and 3:foward which is not true
> (IMHO :).
Oh, I meant that you could replace gcd with min (in a linear hierarchy).