c++ - Generalized Attributes for Memory Alignment in GCC/Clang -
are there generalized attributes c++11 indicating variable memory aligned in gcc/clang?
(note i'm familiar __builtin_assume_aligned. wondering if there way using c++11 generalized attributes feature)
c++11 introduces 2 separate changes:
alignment support
alignas
,alignof
.attributes, such
[[noreturn]]
,[[carries_dependency]]
.
both summarily called "attributes" standard, see section 7.6.
Comments
Post a Comment