Boost logo

Boost :

From: Marc Paterno (paterno_at_[hidden])
Date: 2001-03-01 17:33:51


Hi,

Thanks for the pointer. I had boost 1_20_1, which didn't have
these examples; now I've upgraded to 1_20_2, and the extra
examples are very useful.

best regards,
Marc

-----Original Message-----
From: rwgk_at_[hidden] [mailto:rwgk_at_[hidden]]
Sent: Wednesday, February 28, 2001 12:08 PM
To: boost_at_[hidden]
Subject: [boost] Re: BPL: How to translate from C++ container to tuple,
and back

--- In boost_at_y..., Marc Paterno <paterno_at_f...> wrote:
> (2) What functions do I write to control the conversion?
> Sometimes I also want to translate the contained items,
> so I think I may need to write the from_python and to_python
> functions myself. An example of doing so for a fairly
> simple case would be very useful to me (and perhaps others).

A simple related example is this:

  boost/libs/python/example/getting_started5.cpp

You might also be interested in getting_started4.cpp.

Ralf

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk