Originally posted by Mahboi
View Post
- auto keyword (worse than deprecated, they repurposed it!)
- export keyword
- register keyword
- volatile keyword
- exception specifications
- some uses of the comma operator
- std::auto_ptr<>
- standard library's legacy function adapters
- some standard library type traits adapters
That's not nearly as bad as some of the proposed deprecations that might eventually come to pass. If Carbon helps stem the tide of deprecated features, that might indeed be its most valuable contribution to the C++ community.
The C standards committee, on the other hand, seems to have a better appreciation of C's status a mature language. That said, I do wish C generics worked a little more like C++ function overloads -- not simply switch statements over a parameter type -- as I think that would be enough to enable some meaningful type-safe generic algorithms and datastructures (i.e. like a C version of STL).
Comment