Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2006-05-05 08:00:12


From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Craig Glasgow
Sent: Friday, May 05, 2006 3:55 AM
To: Boost-users_at_[hidden]
Subject: [Boost-users] Boost python std::set

Does anyone know how to write the python conversions to go between the C++ STL class std::set and Python sets? I've written simialar conversions between lists/tuples and std::vector and between dict and std::map by modifying the code in:
 
scitbx/include/scitbx/boost_python/container_conversions.h
 
mentioned in the FAQ.
 
Boost python, however, while supporting dict, list, tuple does not appear to support set. Any ideas?

[Nat] <grin> Your timing is excellent. Check the C++-sig mailing list from two days ago:

http://article.gmane.org/gmane.comp.python.c%2B%2B/9682

In general, check the C++-sig mailing list for Boost.Python questions.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net