Re:In Defense of Linked Lists
by kibwen on Friday November 04, 2022 @06:55PM
(#33475163)
It's an interesting suggestion to impose Option semantics on raw pointers by default (presumably with some alternative way to receive a nullable pointer, for completeness). But in the meantime, in your own codebase, it's easy enough to do `type Ptr<T> = Option<NonNull<<T>>`.
[ Parent
| on HN ]