boost python - type conversion

Uwe Schmitt uwe.schmitt at procoders.net
Thu Feb 5 10:36:11 EST 2004


Hi,

I'd like to wrap a C++ class with a member which returns std::pair<int,int>.
Is there an easy way to force boost to do automitic conversion to a tuple ?

Greetings, Uwe

-- 
Dr. rer. nat. Uwe Schmitt   http://www.procoders.net                      
schmitt at procoders.net      "A service to open source is a service to mankind."



More information about the Python-list mailing list