[C++-sig] Boost tuple example?

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Thu Dec 8 17:58:04 CET 2005


--- Matt <mjkeyes at sbcglobal.net> wrote:

> Does anyone have an example of boost's use of tuples?  For example, I am 
> wanting to construct tuples in C++ and pass them on to Python (these will 
> consist of basic types (const char*'s, integers, etc.) or object values.

Look in the file:

boost/libs/python/test/tuple.cpp

You can probably learn a lot of tricks by spending 30 minutes to scan through
all the *.cpp files in the boost/libs/python/test directory.

Cheers,
        Ralf


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Cplusplus-sig mailing list