Re:Pitfalls of Safe Rust
by steveklabnik on Monday April 07, 2025 @11:40AM
(#43612736)
Here's a program that uses only std::unique_ptr:
Clang 20 compiles this code with `-std=c++23 -Wall -Werror`. If you add -fsanitize=undefined, it will print
or similar.
[ Parent
| on HN ]
There are no comments on this comment yet.