What Is aligned_alloc In Modern C++?
April 6, 2023
The C++11 standard introduced a new alignment feature as one of the many features of the C++ programming language that can be used with the newest C++ compilers today. This new feature was a new keyword align std::aligned_alloc that is used to provide a nested type that can be used as an uninitialized storage for any object whose size is at most the given object size by the alignment size…