News for hackers. Stuff that matters.
Re:We need to seriously think about what to do with C++ modules by jonathrg on Sunday August 31, 2025 @06:35PM (#45087712)
I understand and empathize with your fear. C++23 added a type with 22 constructors (http://en.cppreference.com/w/cpp/utility/expected/expected.h...), that ought to be enough to strike fear into anyone.
Re:We need to seriously think about what to do with C++ modules by okanat on Sunday August 31, 2025 @06:43PM (#45087752)
It already has a defect report too: https://cplusplus.github.io/LWG/issue3886 .
Re:We need to seriously think about what to do with C++ modules by samiv on Monday September 01, 2025 @12:15PM (#45093973)
Don't worry, C++25 will deprecate half of them and C++27 will remove them while adding 20 new ones just to be deprecated in C++30.
Re:We need to seriously think about what to do with C++ modules by okanat on Monday September 01, 2025 @12:28PM (#45094112)
C++ standard and deprecation is a contradiction. They almost never deprecate things. Things always go more complex.
Re:We need to seriously think about what to do with C++ modules by samiv on Monday September 01, 2025 @12:32PM (#45094161)
They're deprecating stuff a lot these days. Add in one version and remove in the next.

https://en.cppreference.com/w/cpp/locale/codecvt_utf8.html

https://en.cppreference.com/w/cpp/algorithm/random_shuffle.h...