Boost logo

Boost Users :

From: Craig Glasgow (glasgow.craig_at_[hidden])
Date: 2006-05-05 03:55:05


Hi
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?

Regards
Craig



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