hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

8.9K
active users

Šimon Tóth

Standard layout class (struct, union) types offer three important benefits:

- offsetof only works for standard layout types
- pointer to a standard layout type and its first member are pointer-interconvertible
- if a standard layout union contains standard layout structs, the common initial sequence can be accessed even through non-active members

Compiler Explorer link: compiler-explorer.com/z/bo48G9