
23 Sep
2005
23 Sep
'05
4:07 p.m.
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?