Message340279
C++ has a __alignof__ function/macro/operator (not sure what is its kind) to get the alignment of a type.
C11 has <stdalign.h> header which provides an alignof() function.
GCC has __alignof__().
I also found "_Alignof()" name.
... no sure which one is the most portable ... |
|
Date |
User |
Action |
Args |
2019-04-15 14:45:19 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, fweimer, pablogsal |
2019-04-15 14:45:19 | vstinner | set | messageid: <1555339519.85.0.722266190685.issue36618@roundup.psfhosted.org> |
2019-04-15 14:45:19 | vstinner | link | issue36618 messages |
2019-04-15 14:45:19 | vstinner | create | |
|