You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem 4 (link) shows how it is UB to cast a random integer as an enum when there isn't a corresponding variant. This was originally mentioned by @bluss on the user forums.
The solutions section should mention how this is UB, as well as ways you can prevent this sort of behaviour.
The text was updated successfully, but these errors were encountered:
Problem 4 (link) shows how it is UB to cast a random integer as an enum when there isn't a corresponding variant. This was originally mentioned by @bluss on the user forums.
The solutions section should mention how this is UB, as well as ways you can prevent this sort of behaviour.
The text was updated successfully, but these errors were encountered: