mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-05 20:54:53 +00:00
If a class doesn't provide a `T::operator delete(void *)` but does have a `T::operator delete(void *, size_t)` the latter is invoked by a `delete someT`. Pybind currently only look for and call the former; this commit adds detection and calling of the latter when the former doesn't exist.