C and C++ have `aligned_alloc 
<https://en.cppreference.com/w/c/memory/aligned_alloc>` for a while now, which 
should work everywhere as long as the compiler is somewhat up to date 
(C11/C++17).

Reply via email to