Re:We rewrote a high-performance database in Rust
by steveklabnik on Tuesday October 18, 2022 @06:10PM
(#33254723)
I don't know about "main", but like, you don't need raw pointers to have UB. uniq_ptr is nullptr after you move it.
And even then, my understanding is that raw pointers are still intended to be used in Modern C++: they're there for when you don't want to transfer ownership.
And even then, my understanding is that raw pointers are still intended to be used in Modern C++: they're there for when you don't want to transfer ownership.