[C++-sig] extracting data from a tuple

cramissor at aim.com cramissor at aim.com
Fri Oct 28 23:59:05 CEST 2005

Hi all.  Probably a newbie question here but how do you extract data 
 from a tuple using boost::python?  I've done some digging in the docs 
as well as the mailing list but have been unable to figure it out.

For example, I have the following declared in my code:

        std::map<int, tuple> widgets;

I would like to extract the third item of the tuple associated with a 
particular widget.  I have had no luck so far so any pointers would be 
much appreciated.


Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.

More information about the Cplusplus-sig mailing list