LLVM  6.0.0svn
llvm::trailing_objects_internal::TrailingObjectsAligner< Align > Class Template Reference

This helper template works-around MSVC 2013's lack of useful alignas() support. More...

#include "llvm/Support/TrailingObjects.h"

Inheritance diagram for llvm::trailing_objects_internal::TrailingObjectsAligner< Align >:
Inheritance graph
[legend]
Collaboration diagram for llvm::trailing_objects_internal::TrailingObjectsAligner< Align >:
Collaboration graph
[legend]

Detailed Description

template<int Align>
class llvm::trailing_objects_internal::TrailingObjectsAligner< Align >

This helper template works-around MSVC 2013's lack of useful alignas() support.

The argument to LLVM_ALIGNAS(), in MSVC, is required to be a literal integer. But, you can use template specialization to select between a bunch of different LLVM_ALIGNAS expressions...

Definition at line 97 of file TrailingObjects.h.


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