I have the following code:
#include
#include
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::_bi::bind_t)
needed in main(int, char**).
"main.cc", line 11: Error, nomatchoverin: Could not find a match for
boost::type_of::encode
(boost::_bi::bind_t)
needed in main(int, char**).
"main.cc", line 11: Error, nomatchoverin: Could not find a match for
boost::type_of::encode
(boost::_bi::bind_t)
needed in main(int, char**).
... many times.
Does BOOST_AUTO supports boost::bind?