LLVM: llvm::support::detail::PickAlignment< T, alignment > Struct Template Reference (original) (raw)
value is either alignment, or alignof(T) if alignment is 0. More...
#include "[llvm/Support/Endian.h](Endian%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| enum | { value = alignment == 0 ? alignof(T) : alignment } |
template<class T, int alignment>
struct llvm::support::detail::PickAlignment< T, alignment >
value is either alignment, or alignof(T) if alignment is 0.
Definition at line 35 of file Endian.h.
◆ anonymous enum
template<class T, int alignment>
| Enumerator |
|---|
| value |
Definition at line 36 of file Endian.h.
The documentation for this struct was generated from the following file:
- include/llvm/Support/Endian.h