Closed iwanders closed 8 months ago
Thanks @iwanders! I'm just waiting for the GHA to finish before merging.
It's fine to leave the suggested changelog entry blank, because we don't have smart_holder releases.
:+1: good to know, I cleared it from the description.
@rwgk , as requested in https://github.com/pybind/pybind11/pull/4921#issuecomment-1795497776
Ensures
std::default_delete<T>
is used to look up the deleter for a type instead ofdelete
directly.Description
The smart holder should use
std::default_delete
for looking up a deleter instead of assumingdelete
is the correct thing.Suggested changelog entry: