Skip to content

Describe bit validity and padding for primitive types #1291

Closed
@joshlf

Description

@joshlf

Though it's generally understood to be the case, the type layout page of the reference doesn't explicitly guarantee that, for each primitive type, T:

  • All bit patterns are valid instances of T
  • All of the bytes of T are guaranteed to be initialized (none of them are padding)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions