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

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -