Subject: Re: [Boost-users] [range] for_each and std::map of std::list
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-04-07 07:39:17


On 07/04/2011 12:56, Thorsten Ottosen wrote:

> Well, that is only a problem if you want to avoid manually applying the
> adaptor twice (or more), right?
>
> If so, I think that is a limitation we can live with. A simple solution
> covers most cases IMO.

Oh, the adaptor I wrote flattens recursively.

I guess just flattening the top level could be fairly easy.