7 ms·For what it's worth, C++17 added [[nodiscard]] to address this issue.by vasilvv 8mo agoFor what it's worth, C++17 added [[nodiscard]] to address this issue.