[C++-sig] Boost::Python: return a tuple?

James Supancic arrummzen at gmail.com
Mon Jan 29 19:23:20 CET 2007


I'm trying to figure out how to make a function return a tuple, I've
tried numerous different approaches but so far I can't get anything to
work. I basically need to write a function that returns a tuple of
three doubles say (1,2,3). How can I do this?

A simple example is probably all I'll need.

Thank you for your time,
James Steven Supancic III



More information about the Cplusplus-sig mailing list