3 ms·
Numerous features, with more arriving every third year. Operator overloading, exceptions, partial specialization, template function overloading, overridden move
by ncmncm 6y ago
Numerous features, with more arriving every third year. Operator overloading, exceptions, partial specialization, template function overloading, overridden move constructors, concepts...
- steveklabnik 6y agoYes, there are many features that C++ has that Rust doesn't have, but "the devs say there never will be" is a different story. For example: * Operator overloading: Rust already does this * Exceptions: this is true, Rust will not do this. * Partial specialization: is in nightly, will be made stable * Template function overloading: not in Rust, nobody has said "never" though it is controversial * overridden move constructors: this is true, it won't happen * concepts: traits are already concepts and exist today. The situation is significantly different than you've presented. We do have several features that we need to catch up to C++ in areas, but the big ones are on the way. It's more minor or stylistic, rather than capabilities, that are maybe not gonna be a thing.