pybind / pybind11

Seamless operability between C++11 and Python
https://pybind11.readthedocs.io/
Other
15.55k stars 2.09k forks source link

[smart_holder] Remove added `return_value_policy` members and `try_as_void_ptr_capsule ` feature. #5160

Closed rwgk closed 3 months ago

rwgk commented 3 months ago

Description

This PR is to achieve a cleaner separation of changes:

All code removed here will continue to exist in the pybind11clif repo.

The type_caster_odr_guard is not removed here because it can be very helpful for determining where PYBIND11_SMART_HOLDER_TYPE_CASTERS macros are missing.

Suggested changelog entry: