mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
clarification regarding STL container support
This commit is contained in:
parent
a4caa85fc6
commit
44db04f580
@ -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::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user