Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-05-23 23:36:54

Why don't we provide container versions of all stl algorithms:

template<typename C,typename P>
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 );


Boost list run by bdawes at, gregod at, cpdaniel at, john at