Y
Hacker News
new
|
ask
|
show
|
jobs
by
zetafunction
1369 days ago
Since C++17, using [[nodiscard]] can help with that.
1 comments
jandrewrogers
1369 days ago
Indeed, Google's implementation of Status/StatusOr requires explicit handling of those objects, they cannot be discarded automatically.
link