dune-common
2.3.1
|
Calculates the alignment requirement of a type. More...
#include <dune/common/alignment.hh>
Public Types | |
enum | { value = AlignmentTester<T, sizeof(AlignmentStruct<T>) - sizeof(T) -1>::result } |
Calculates the alignment requirement of a type.
This will be a safe value and not an optimal one. If TR1 is available it falls back to std::alignment_of.