clarification regarding STL container support

This commit is contained in:
Wenzel Jakob 2015-12-14 12:40:45 +01:00
parent a4caa85fc6
commit 44db04f580

View File

@ -357,14 +357,14 @@ Passing STL data structures
===========================
When including the additional header file :file:`pybind11/stl.h`, conversions
between ``std::vector<>`` and ``std::map<>`` and the Python ``list`` and
``dict`` data structures are automatically enabled. The types ``std::pair<>``
and ``std::tuple<>`` are already supported out of the box with just the core
:file:`pybind11/pybind11.h` header.
between ``std::vector<>``, ``std::map<>``, and ``std::map<>`` and the Python
``list``, ``set`` and ``dict`` data structures are automatically enabled. The
types ``std::pair<>`` and ``std::tuple<>`` are already supported out of the box
with just the core :file:`pybind11/pybind11.h` header.
.. note::
Arbitrary nesting of any of these types is explicitly permitted.
Arbitrary nesting of any of these types is supported.
.. seealso::