LLVM
8.0.1
|
This union template exposes a suitably aligned and sized character array member which can hold elements of any of up to ten types. More...
#include "llvm/Support/AlignOf.h"
Additional Inherited Members | |
Public Attributes inherited from llvm::AlignedCharArray< alignof(llvm::detail::AlignerImpl< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >), sizeof(::llvm::detail::SizerImpl< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >)> | |
char | buffer [Size] |
This union template exposes a suitably aligned and sized character array member which can hold elements of any of up to ten types.
These types may be arrays, structs, or any other types. The goal is to expose a char array buffer member which can be used as suitable storage for a placement new of any of these types. Support for more than ten types can be added at the cost of more boilerplate.