WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::AlignedCharArrayUnion< Ts > Struct Template Reference

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

#include <wpi/AlignOf.h>

Public Attributes

std::byte buffer [(std::max)({static_cast< size_t >(1), sizeof(Ts)...})]
 

Detailed Description

template<typename... Ts>
struct wpi::AlignedCharArrayUnion< Ts >

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

Member Data Documentation

◆ buffer

template<typename... Ts>
std::byte wpi::AlignedCharArrayUnion< Ts >::buffer[(std::max)({static_cast< size_t >(1), sizeof(Ts)...})]

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