test_class.cpp
12.1 KB
-
Add support custom sized operator deletes (#952) · a03408c8
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.
Jason Rhinelander committed