[C++-sig] conversion problem

Luca Sbardella luca.sbardella at gmail.com
Fri Dec 12 15:11:04 CET 2008


you are right, that was silly.
thanks a lot

2008/12/12 Hans Meine <meine at informatik.uni-hamburg.de>

> 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
>
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20081212/f53f1090/attachment.htm>


More information about the Cplusplus-sig mailing list