std::aligned_union< _Len, _Types >(3) Library Functions Manual std::aligned_union< _Len, _Types >(3)

std::aligned_union< _Len, _Types > - Provide aligned storage for types.

#include <type_traits>


using type
The storage.


static const size_t alignment_value
The value of the strictest alignment of _Types.

struct std::aligned_union< _Len, _Types >"Provide aligned storage for types.

[meta.trans.other]

Provides aligned storage for any of the provided types of at least size _Len.

See also

aligned_storage

Deprecated

Deprecated in C++23.

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++