15 Sep
2006
15 Sep
'06
9:26 p.m.
std::for_each( a.begin(), a.end(),
boost::bind( &c::f, boost::bind( &TMap::value_type::second, _1 ), NULL ) ); Indentation does help with these things. But this still does not work I am getting:
boost_1_33_1\boost\bind.hpp(286) : error C2664: 'R boost::_mfi::mf1<R,T,A1>::operator ()<boost::_bi::result_traits<c,F>::type>(U & ,A1) const' : cannot convert parameter 2 from 'int' to 'boost::_bi::result_traits<R,F>::type & ' -- Regards, Alexander. http://sjcomp.com