←back to thread

288 points Twirrim | 1 comments | | HN request time: 0.231s | source
Show context
harry8 ◴[] No.41874909[source]
Is C++ capable of deprecating or simplifying anything?

Honest question, haven't followed closely. rand() is broken,I;m told unfixable and last I heard still wasn't deprecated.

Is this proposal a test? "Can we even drop support for a solution to a problem literally nobody has?"

replies(12): >>41875009 #>>41875032 #>>41875407 #>>41875528 #>>41875757 #>>41875887 #>>41876970 #>>41877466 #>>41877729 #>>41877980 #>>41878258 #>>41878901 #
1. rty32 ◴[] No.41878258[source]
One obvious example is auto_ptr. And from what I can see it is quite successful -- in a well maintained C++ codebase using C++ 11 or later, you just don't see auto_ptr in the code.