Dynamic aligned memory allocation in C++11

Viewed 28027

posix_memalign and _aligned_malloc on Windows allow to dynamically allocate an aligned chunk of memory. Is there anything similar in C++11? As far as I know, the alignas keyword only works with statically allocated objects.

7 Answers
Related