C++C++11C++14C++17C++20Learn C++Syntax

What is aligned_union in Modern C++

The C++11 standard introduced alignment support as one of the many features of the C++ programming language that can be used with the latest C++ compilers today. One of the new features of this support was a new keyword align std::aligned_union that is used to provide a nested type which can be used as an uninitialized storage for any object whose size is at most the object size stated by…
Read more