News for hackers. Stuff that matters.
Re:Hardening the C++ Standard Library at scale by Maxatar on Saturday November 29, 2025 @03:38PM (#46090581)
Just a cursory search on Github should put this idea to rest. You can do a code search for std::optional and .value() and see that only about 20% of uses of std::optional make use of .value(). The overwhelming majority of uses off std::optional use * to access the value.

There are no comments on this comment yet.