News for hackers. Stuff that matters.
Re:Enum class improvements for C++17, C++20 and C++23 by consteval on Monday August 05, 2024 @01:49PM (#41163591)
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

There are no comments on this comment yet.