Skip to content

Describe bit validity and padding for primitive types #1291

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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