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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -