3 ms·
Since C++17, using [[nodiscard]] can help with that.
by zetafunction 4y ago
Since C++17, using [[nodiscard]] can help with that.
- jandrewrogers 4y agoIndeed, Google's implementation of Status/StatusOr requires explicit handling of those objects, they cannot be discarded automatically.