| |||
Home > Standard C Implementation Definition > Implementation definition > Structures, unions, enumerations, and bitfields |
The ISO/IEC C standard requires the following implementation details to be documented for structured data types:
the outcome when a member of a union is accessed using a member of different type
the padding and alignment of members of structures
whether a plain int bitfield is treated as a signed int bitfield or as an unsigned int bitfield
the order of allocation of bitfields within a unit
whether a bitfield can straddle a storage-unit boundary
the integer type chosen to represent the values of an enumeration type.
These implementation details are documented in the relevant sections of C and C++ implementation details .
See Unions for details.
See Enumerations for details.
See Structures for details.
See Bitfields for details.