LLVM  8.0.1
Public Types | List of all members
llvm::support::detail::PickAlignment< T, alignment > Struct Template Reference

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

#include "llvm/Support/Endian.h"

Public Types

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

Detailed Description

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 39 of file Endian.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 40 of file Endian.h.


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