std::alignment_of
std::alignment_of
Defined in header <type_traits> | ||
---|---|---|
template< class T > struct alignment_of; | (since C++11) |
Provides the member constant value
equal to the alignment requirement of the type T
, as if obtained by an alignof
expression. If T
is an array type, returns the alignment requirements of the element type. If T
is a reference type, returns the alignment requirements of the type referred to.
If