4 ms·
Dunno, but I'd have thought that you can make None look like a null pointer, but Some(p) needs to be tagged in some way.
by user2994cb 9y ago
Dunno, but I'd have thought that you can make None look like a null pointer, but Some(p) needs to be tagged in some way.
- user2994cb 9y agoActually, having Some(x) be just a pointer to x seems to work fine without an explicit tag, as dragonwriter says below.