The C++ committee is actively looking at how something like rust’s borrow checker could be added to C++. Likely it won’t be a borrow checker, but just enforcement that some code cannot use new/delete and so must use a container (std::unique_ptr, std::vector…) which gets rid of most of the pain. Modern C++ is a much better language than C++98, but I still see a lot of people writing C++98 code.
The C++ committee is actively looking at how something like rust’s borrow checker could be added to C++. Likely it won’t be a borrow checker, but just enforcement that some code cannot use new/delete and so must use a container (std::unique_ptr, std::vector…) which gets rid of most of the pain. Modern C++ is a much better language than C++98, but I still see a lot of people writing C++98 code.