"Jonathan Brandmeyer" <jdbrandm@unity.ncsu.edu> writes:
GCC rejected that with this error: tupletest.cpp: In function `void init_module_tuple_test()': tupletest.cpp:42: ambiguous overload for `boost::python::self_ns::self_t& + boost::python::other<boost::python::tuple>' operator c:/msys/local/include/boost/python/operators.hpp:184: candidates are: boost::python::detail::operator_<op_add, L, R> boost::python::self_ns::operator+(const L&, const R&) [with L = boost::python::self_ns::self_t, R = boost::python::other<boost::python::tuple>] c:/msys/local/include/boost/python/object_operators.hpp:60: boost::python::api::object boost::python::api::operator+(const L&, const R&)
[with L = boost::python::self_ns::self_t, R = boost::python::other<boost::python::tuple>]
For recent GCCs, that should now be fixed in CVS. The enclosed patch should also address the problem -- Dave Abrahams Boost Consulting www.boost-consulting.com