[C++-sig] Re: long long unsigned issue...

David Abrahams dave at boost-consulting.com
Tue May 27 16:17:26 CEST 2003


"Milind Patil" <milind_patil at hotmail.com> writes:

> Thanks Dave. The to_python conversion error has gone away.
>
> I am running accross a different issue now. My assumption was that once
> I had a way to convert python long to Y via long_, I should also be able to handle
> statements like
>
> x = hello.Y(2, 4294967295)
>
> possibly after adding
>
> implicitly_convertible<int, Y_Wrapper>();

How were you thinking the above implicitly_convertible call would
help, and which constructor overload did you expect it to pick?

> But this does not work. 

What does "does not work" mean?

> Is my assumption wrong? Any pointers as to where to look for a
> solution?

More information, please.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list