
I have the following code: #include <boost/typeof/typeof.hpp> #include <boost/bind.hpp> void test() { } int main(int argc, char** argv) { BOOST_AUTO(a, boost::bind(&test)); } But when I try to compile, I get errors: CC -m64 -erroff=wvarhidemem,hidevf,hidevfinvb -errtags=yes -library=stlport4 -mt -c -g -I/home/gimenero/include -o build/Debug/Sun12-Solaris-Sparc/main.o main.cc CC -m64 -erroff=wvarhidemem,hidevf,hidevfinvb -errtags=yes -library=stlport4 -mt -c -g -I/home/gimenero/include -o build/Debug/Sun12-Solaris-Sparc/main.o main.cc "main.cc", line 11: Error, nomatchoverin: Could not find a match for boost::type_of::encode<boost::type_of::V, boost::type_of::T> (boost::_bi::bind_t<void, void(*)(), boost::_bi::list0>) needed in main(int, char**). "main.cc", line 11: Error, nomatchoverin: Could not find a match for boost::type_of::encode<boost::type_of::V, boost::type_of::T> (boost::_bi::bind_t<void, void(*)(), boost::_bi::list0>) needed in main(int, char**). "main.cc", line 11: Error, nomatchoverin: Could not find a match for boost::type_of::encode<boost::type_of::V, boost::type_of::T> (boost::_bi::bind_t<void, void(*)(), boost::_bi::list0>) needed in main(int, char**). ... many times. Does BOOST_AUTO supports boost::bind?