[C++-sig] With boost python tuple, how to loop over tuple items?

HOUSSEN Franck fghoussen at gmail.com
Wed Jan 29 16:01:34 EST 2020


With boost python tuple, how to loop over tuple items? In dummy.cpp
attached, I'd like to get line 8 to work. Afterwards, I noticed line 7 does
not even compile. How to get the length of a tuple (line 8), and, why there
could be some ambiguity (line 7). Any help / clue is appreciated.
Franck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20200129/9d2cb62d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 98 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20200129/9d2cb62d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummy.cpp
Type: text/x-c++src
Size: 442 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20200129/9d2cb62d/attachment.cpp>


More information about the Cplusplus-sig mailing list