[C++-sig] How to get items from a tuple

Ricardo Abreu gumbeto at gmail.com
Fri Jan 16 11:49:34 CET 2009


Thank you, but I had tried that and it doesn't seem to work... look: 
http://codepad.org/kA61P8r0

What am I doing wrong?

Thanks,
Ricardo Abreu

David Abrahams wrote:
> 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.
> 



More information about the Cplusplus-sig mailing list