
I've registered bind: #include <boost/typeof/typeof.hpp> #include <boost/bind.hpp> #include <iostream> #include <typeinfo> void test() { } BOOST_TYPEOF_REGISTER_TEMPLATE(boost::_bi::bind_t, 3); int main(int argc, char** argv) { typedef BOOST_TYPEOF_TPL(boost::bind(&test)) Type; std::cout << typeid(Type).name() << std::endl; } But this prints 'int', but should be: boost::_bi::bind_t<void, void(*)(), boost::_bi::list0> What's wrong? "Steven Watanabe" <watanabesj@gmail.com> escribió en el mensaje news:4A2826F2.4060704@providere-consulting.com... AMDG Roberto Giménez wrote:
<snip>
Does BOOST_AUTO supports boost::bind?
In emulation mode, Boost.Typeof only has builtin support for standard and built in types. Other types need to be registered. In Christ, Steven Watanabe