|
|
|
|
|
by consteval
678 days ago
|
|
I've never seen a nullptr somehow sneak into a reference. Never. What I have seen is automatic variables escaping their scope as a reference, which rust protects against. And is also much more dangerous, because dereferencing a nullptr is defined behavior on most platforms |
|