News for hackers. Stuff that matters.
Re:C++20, How Hard Could It Be by zetafunction on Sunday September 25, 2022 @08:52PM (#32978127)
Since C++17, using [[nodiscard]] can help with that.
Re:C++20, How Hard Could It Be by jandrewrogers on Sunday September 25, 2022 @09:20PM (#32978302)
Indeed, Google's implementation of Status/StatusOr requires explicit handling of those objects, they cannot be discarded automatically.