Re:Rust Sucks If I Fail to Write X
by dbaupp on Friday February 17, 2017 @02:35PM
(#13671017)
unique_ptr is unfortunately still unsafe (in the Rust sense): there's nothing in the language stopping use-after-move of the unique_ptr value itself (which is a null-dereference and undefined behaviour), nor references to the interior becoming dangling.
[ Parent
| on HN ]
There are no comments on this comment yet.