WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::util::AlignedCharArrayUnion< Ts > Struct Template Reference

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

#include <wpi/util/AlignOf.hpp>

Public Attributes

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

Detailed Description

template<typename... Ts>
struct wpi::util::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::util::AlignedCharArrayUnion< Ts >::buffer[(std::max)({static_cast< size_t >(1), sizeof(Ts)...})]

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