Getting storage with proper alignment in C++
In some use case, you’ll need to allocate storage before creating objects inside this storage (a typical one is managing your objects inside pre-allocated pools of memory).
Then in order to create these objects, you may need to use placement new: