[C++-sig] How to get items from a tuple (original) (raw)

David Abrahams dave at boostpro.com
Thu Jan 15 19:23:22 CET 2009


on Thu Jan 15 2009, Ricardo Abreu <gumbeto-AT-gmail.com> wrote:

Hello,

How do I extract elements from a tuple that I receive from python? boost::python::tuple doesn't seem to have anything for that in its interface...

t[n]

is the nth element of tuple t.

-- Dave Abrahams BoostPro Computing http://www.boostpro.com



More information about the Cplusplus-sig mailing list