Skip to content

Conversation

madsmtm
Copy link

@madsmtm madsmtm commented Jun 1, 2021

Having pointers to uninhabited enums is maybe undefined behaviour, and dereferencing them definitely is.

See the Nomicon for more.

Having pointers to uninhabited enums is maybe undefined behaviour, and dereferencing them definitely is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant