• Wenzel Jakob's avatar
    Support C++17 aligned new statement (#1582) · e2eca4f8
    Wenzel Jakob authored
    * 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.
    e2eca4f8
test_class.py 8.91 KB