posix_memalign并且_aligned_malloc在Windows上允许动态分配对齐的内存块.C++ 11中有类似的东西吗?据我所知,该alignas关键字仅适用于静态分配的对象.
posix_memalign
_aligned_malloc
alignas
c++ c++11
c++ ×1
c++11 ×1