[C++-sig] Converting custom string pointer to python string

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Sun Jan 28 19:59:33 CET 2007


> I hope and think this is possible. As I said, I don't need to modify the
> strings.

I think if you just put "const CustomString*" in the signatures you'll be all set.

If you use "CustomString*" it is not an rvalue conversion, since Boost.Python has to assume you want to modify the object.






 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 



More information about the Cplusplus-sig mailing list