C++ the good parts is essentially C. If C had the concept of traits and generics or something like them like Rust thereād be no need for C++ and its ideas of mediocre inheritance and macros (templates).
Tbf, I'd say Rust's concepts of Trait Objects and Generics are better implementations (in general) of C++'s inheritance and templates, respectively, rather than entirely different things. I'd also add constexpr/const blocks to good ideas to add, or else generics/templates will be abused (yet again).