struct AlignedCharArrayUnion

Declaration

template <typename T, typename... Ts>
struct AlignedCharArrayUnion { /* full declaration omitted */ };

Description

A suitably aligned and sized character array member which can hold elements of any type. These types may be arrays, structs, or any other types. This exposes a `buffer` member which can be used as suitable storage for a placement new of any of these types.

Declared at: llvm/include/llvm/Support/AlignOf.h:48

Templates

T
Ts

Member Variables

public char[sizeof(llvm::detail::SizerImpl<T, Ts...>)] buffer