Skip to content

Add support for C++17 operator new alignment

Submitted by Alex

Assigned to Nobody

Link to original bugzilla bug (#1409)
Version: 3.3 (current stable)

Description

C++17 has added an operator new overload that passes in alignment requirements. See here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0035r4.html

This is now supported in clang 4:

http://clang.llvm.org/cxx_status.html

Support for this will make Eigen types compatible with STL containers without the need for overloads or custom allocators.

Blocking

#814