[C++-sig] Automatic argument conversion
Eric Jardim
ericjardim at gmail.com
Wed Jul 27 08:05:43 CEST 2005
2005/7/25, David Abrahams <dave at boost-consulting.com>:
>
> > http://mail.python.org/pipermail/c++-sig/2003-May/004133.html
> Hey, Ralf, do you think this would make a good FAQ? (hinty-hinty) ;-)
>
Oh, man! I just replaced custom_string with QString, and changed the
".value()" to ".toStdString()" specific QString method and... it worked. Not
even compiler errors.
Boost.Python is incredible :)
I will later need to use this same approach to other types like tuples <->
QSize(x,y). But I'll try myself first. I hope it work too.
Thanks <David, Ralf, and_everybody>() ["that make it possible"].
[Eric Jardim]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20050727/a8686c46/attachment.htm>
More information about the Cplusplus-sig
mailing list