Can't modern c++ be as safe as rust?
First off I wanna say that my knowledge of c++ and Rust is average or below average and I haven't worked with any large code base with either c++ or rust, I am just learning stuff now, and when I first came across rust ownership model (Which is probably the most important aspect of the language), First thing popped isn't that basically smart pointers and the concepts of RAII in c++? Forgive my ignorance but I feel that good modern c++ is pretty safe if you know what you are doing, The only good point of rust I feel is the good designed ecosystem of the language(Cargo, automatic documentation of libraries) which makes it kind of easier to add dependencies where as in c++ u have tons of build systems and adding libraries is kind of hassle, The thing I also feel that Rust is safe by default(It forces you to be safe by not compiling) unlike c++ which I think is unsafe by default, so my question is does Rust really offer anything(As a language) other from the convenience of the ecosystem?
And again I'm a newbie so be gentle :)
Edit: Thank you guys for all the responses The thing is I probably haven't used c++ enough to get bitten by it, And btw the post wasn't at all meant to be like "WHAT EVEN THE POINT OF RUST WHEN THERE IS MODERN C++?!", so sorry if my wording shaped it liked this.
I guess the thing I haven't thought about is that C++ has to be backwards compatible with previous versions of the language to work with older code-bases and also C which we know pre C++11 was kinda of a mess. Also I haven't appreciated the fact that every library in rust is probably 100% safe code, which might not be the case when using c++ libraries.