Boost logo

Boost Users :

From: Seb Martel (smartel_at_[hidden])
Date: 2005-09-23 11:07:11


> > 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 );
>

Could it be possible that bind detects identity usage like this and notify
of the inefficiency?


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