Boost logo

Boost :

From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2004-05-24 13:40:44


> Gennadiy Rozental wrote:
> > Why don't we provide container versions of all stl algorithms:
> >
> > template<typename C,typename P>
> > inline
> > for_each( C const& c, P pred) // or non const ref??
> > {
> > // unwrap here used to allow by_ref( c ) usage for
> mutable predicates
> > std::for_each( begin( unwrap( c ) ), end( unwrap( c ) ), P ); }
>
> This depends who do you mean by "we" ;-) There's a bunch of container
> algorithms in the sandbox:
>
> http://tinyurl.com/yv6q3
>
> and I use them quite a lot.
>
> - Volodya

Oh! I missed it somehow. Is there plans for review request? I would second
it.

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk