Re:Safety Goggles for Alchemists: The Path Towards Safer Tra...
by kam on Friday October 04, 2024 @04:00PM
(#41745050)
The reserved values can be used as tags in outer enum types. For example `Option<bool>` might encode `None` as 2. If you did `Some(transmute::<bool>(2))` it'd turn into `None`.
[ Parent
| on HN ]
There are no comments on this comment yet.