WPILibC++ 2024.3.2
wpi::support::detail::PickAlignment< T, alignment > Struct Template Reference

::value is either alignment, or alignof(T) if alignment is 0. More...

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/Endian.h>

Public Types

enum  { value = alignment == 0 ? alignof(T) : alignment }
 

Detailed Description

template<class T, int alignment>
struct wpi::support::detail::PickAlignment< T, alignment >

::value is either alignment, or alignof(T) if alignment is 0.

Member Enumeration Documentation

◆ anonymous enum

template<class T , int alignment>
anonymous enum
Enumerator
value 

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