We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350b435 commit 6281115Copy full SHA for 6281115
docs/upgrade.rst
@@ -75,6 +75,11 @@ you may incrementally adopt new features where appropriate:
75
removed. Runtime failures (assuming good unit test coverage) will highlight
76
base-and-derived class situations that require coordinated changes.
77
78
+ Note that ``py::bind_vector`` and ``py::bind_map`` (in pybind11/stl_bind.h)
79
+ have a ``holder_type`` template parameter that defaults to
80
+ ``std::unique_ptr``. If ``py::smart_holder`` functionality is desired or
81
+ required, use e.g. ``py::bind_vector<VecType, py::smart_holder>``.
82
+
83
* Gradually migrate from ``py::enum_`` to ``py::native_enum`` to improve
84
integration with Python's standard enum types.
85
0 commit comments