[C++-sig] conversion problem
Hans Meine
meine at informatik.uni-hamburg.de
Fri Dec 12 13:23:04 CET 2008
On Thursday 11 December 2008 16:29:34 Luca Sbardella wrote:
> The error I get is
> *error C2668: 'boost::python::make_tuple' : ambiguous call to overloaded
> function
> could be 'boost::python::tuple boost::python::make_tuple<_Ty1,_Ty2>(const
> A0 &,const A1 &)'**
> or 'boost::tuples::tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>
> boost::tuples::make_tuple<_Ty1,_Ty2>(const T0 &,const T1 &)' [found using
> argument-dependent lookup]
Did you try explicitly writing boost::python::make_tuple instead of just
make_tuple? -> The above error msg. shows that the second function is from a
completely different namespace (boost::tuples).
That should be more proper than your list-solution.
Greetings,
Hans
More information about the Cplusplus-sig
mailing list