←back to thread

288 points Twirrim | 1 comments | | HN request time: 0.23s | 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. pjmlp ◴[] No.41877466[source]
GC API from C++11 was removed in C++23, understandibly so, given that it wasn't designed taking into account the needs of Unreal C++ and C++/CLI, the only two major variants that have GC support.

Exception specifications have been removed, although some want them back for value type exceptions, if that ever happens.

auto_ptr has been removed, given its broken design.

Now on the simplying side, not really, as the old ways still need to be understood.