
Hi, this test file doesn't compile, but why? $ LANG=en g++ bind.cpp -o bind && ./bind /usr/include/boost/bind.hpp: In member function 'R boost::_bi::list2<A1, A2>::operator()(boost::_bi::type<R>, F&, A&, long int) [with R = int, F = Foo, A = boost::_bi::list2<const char*&, const int&>, A1 = boost::arg<1> (*)(), A2 = boost::arg<2> (*)()]': /usr/include/boost/bind/bind_template.hpp:89: instantiated from 'typename boost::_bi::result_traits<R, F>::type boost::_bi::bind_t<R, F, L>::operator()(A1&, const A2&) [with A1 = const char*, A2 = int, R = int, F = Foo, L = boost::_bi::list2<boost::arg<1> (*)(), boost::arg<2> (*)()>]' bind.cpp:22: instantiated from here /usr/include/boost/bind.hpp:278: error: void value not ignored as it ought to be Thanks, Olaf