HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by zetafunction | Hacker News Reader
Parent
Full thread
zetafunction
·
Since C++17, using [[nodiscard]] can help with that.
View on HN
jandrewrogers
·
Indeed, Google's implementation of Status/StatusOr requires explicit handling of those objects, they cannot be discarded automatically.
Reply on news.ycombinator.com