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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -