Skip to content

Commit 793adbd

Browse files
committed
Revert "Adding documentation with associated test: Using py::classh but with fallback to classic pybind11"
This reverts commit 49f8f60. The direct commit was accidental. I meant to create a PR.
1 parent 5f050c4 commit 793adbd

File tree

4 files changed

+0
-65
lines changed

4 files changed

+0
-65
lines changed

README_smart_holder.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,6 @@ of interest have made the switch, because then the code will continue to
164164
work in either mode.
165165

166166

167-
Using py::classh but with fallback to classic pybind11
168-
------------------------------------------------------
169-
170-
This could be viewed as super-conservative mode, for situations in which
171-
compatibility with classic pybind11 (without smart_holder) is needed for
172-
some period of time. The main idea is to enable use of ``py::classh``
173-
and the associated ``PYBIND11_SMART_HOLDER_TYPE_CASTERS`` macro while
174-
still being able to build the same code with classic pybind11. Please see
175-
tests/test_classh_mock.cpp for an example.
176-
177-
178167
Trampolines and std::unique_ptr
179168
-------------------------------
180169

tests/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ set(PYBIND11_TEST_FILES
112112
test_class_sh_trampoline_unique_ptr.cpp
113113
test_class_sh_unique_ptr_member.cpp
114114
test_class_sh_virtual_py_cpp_mix.cpp
115-
test_classh_mock.cpp
116115
test_constants_and_functions.cpp
117116
test_copy_move.cpp
118117
test_custom_type_casters.cpp

tests/test_classh_mock.cpp

Lines changed: 0 additions & 42 deletions
This file was deleted.

tests/test_classh_mock.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)