test_class.py
8.91 KB
-
Support C++17 aligned new statement (#1582) · e2eca4f8
* Support C++17 aligned new statement This patch makes pybind11 aware of nonstandard alignment requirements in bound types and passes on this information to C++17 aligned 'new' operator. Pre-C++17, the behavior is unchanged.
Wenzel Jakob committed