
4 Jan
2006
4 Jan
'06
11:06 p.m.
Allen Zhao wrote:
2) boost::bind(std::less<int>(), _1, 0)) (libtorrent/src/session.cpp)
You can make this compile on VC 7.0 by providing a return type: boost::bind<bool>(std::less<int>(), _1, 0) http://www.boost.org/libs/bind/bind.html#with_function_objects http://www.boost.org/libs/bind/bind.html#Q_forms http://www.boost.org/libs/bind/bind.html#err_short_form