mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-02 20:51:36 +00:00
Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943)
* Using new smart_holder::reclaim_disowned in smart_holder_type_caster for unique_ptr. * Systematically renaming was_disowned to is_disowned (because disowning is now reversible: reclaim_disowned). * Systematically renaming virtual_overrider_self_life_support to trampoline_self_life_support (to reuse existing terminology instead of introducing new one). * Systematically renaming test_class_sh_with_alias to test_class_sh_trampoline_basic. * Adding a Trampolines and std::unique_ptr section to README_smart_holder.rst. * MSVC compatibility.
This commit is contained in:
committed by
GitHub
parent
88a09988e7
commit
6c922614ed
@@ -35,7 +35,7 @@ main_headers = {
|
||||
"include/pybind11/smart_holder.h",
|
||||
"include/pybind11/stl.h",
|
||||
"include/pybind11/stl_bind.h",
|
||||
"include/pybind11/virtual_overrider_self_life_support.h",
|
||||
"include/pybind11/trampoline_self_life_support.h",
|
||||
}
|
||||
|
||||
detail_headers = {
|
||||
|
||||
Reference in New Issue
Block a user