|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-09-22 13:15:56
Seb Martel wrote:
> What about:
>
> std::transform(
> x.begin(), x.end(), std::back_inserter(y),
> boost::bind( &foo, _1 ) );
Or even
std::transform( x.begin(), x.end(), std::back_inserter(y), foo );
:-)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net