LLVM  10.0.0svn
Public Attributes | List of all members
llvm::AlignedCharArrayUnion< T, Ts > Struct Template Reference

A suitably aligned and sized character array member which can hold elements of any type. More...

#include "llvm/Support/AlignOf.h"

Collaboration diagram for llvm::AlignedCharArrayUnion< T, Ts >:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

template<typename T, typename... Ts>
struct llvm::AlignedCharArrayUnion< T, Ts >

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.

Definition at line 48 of file AlignOf.h.

Member Data Documentation

◆ buffer

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

The documentation for this struct was generated from the following file: