4 ms·
Yeap. forgetting to propagate or handle an error provided in a return value is very very easy. If you fail to handle an exception, you halt.
by nomel 9mo ago
Yeap. forgetting to propagate or handle an error provided in a return value is very very easy. If you fail to handle an exception, you halt.
- vasilvv 9mo agoFor what it's worth, C++17 added [[nodiscard]] to address this issue.