[C++-sig] Converter with return_value_policy<manage_new_object> semantics...

Kevin Jones investtcartier at yahoo.com
Thu Aug 3 21:52:01 CEST 2006


Hi all,

I have a function T foo(). The problem is that T is a
variant type and by default is being converted to a
python object using my supplied converter.

I would like to rewrite the converter to use
return_value_policy<manage_new_object> semantics on a
case by case basis for each variant type.

Any suggestions?

Best regards,

Kevin


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Cplusplus-sig mailing list