On 04/01/2010 14:02, Brian O'Kennedy wrote:
You could try this instead: (untested!)using namespace boost::python; tuple a = make_tuple("hello", 42);std::cout << "Length = " << boost::python::len(a) << std::endl; // explicit namespace not needed
Thanks, thats perfect.
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig