[C++-sig] Wrapping std::map using Boost::Python

Roman Yakovenko roman.yakovenko at gmail.com
Thu May 10 06:31:51 CEST 2007


On 5/9/07, James Knight <neworderofjamie at gmail.com> wrote:
>
> Hi,
>
> I'm trying to wrap std::map using boost::python so my embedded python code
> can access maps.  I have the following wrapper class:


Boost.Python exposes std::map:
http://boost.cvs.sourceforge.net/*checkout*/boost/boost/libs/python/doc/v2/indexing.html#map_indexing_suite_class
http://boost.cvs.sourceforge.net/boost/boost/libs/python/test/map_indexing_suite.cpp?view=markup&sortdir=down

May be you can use them?



-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070510/3a7a6cc9/attachment.htm>


More information about the Cplusplus-sig mailing list