Skip to content

Commit a5b0cdc

Browse files
authored
Add NOTE (#4968)
1 parent 5f094e3 commit a5b0cdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README_smart_holder.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ There are three small differences compared to Classic pybind11:
107107
``#include <pybind11/pybind11.h>``.
108108

109109
- The ``PYBIND11_SMART_HOLDER_TYPE_CASTERS(Foo)`` macro is needed.
110+
— NOTE: This macro needs to be in the global namespace.
110111

111112
- ``py::classh`` is used instead of ``py::class_``.
112113

0 commit comments

Comments
 (0)