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

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

David Abrahams <dave at boost-consulting.com> writes:

> "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.

One more note about this stuff: you have so many constructors and so
much potential for ambiguity it's hard to make sense of what you're
actually trying to achieve.  Maybe if you could say a little more
about that it would be easier to help you.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list