Boost logo

Boost Users :

From: Alexander Shyrokov (shirokov_at_[hidden])
Date: 2006-09-15 17:26:40


> 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

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