<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sun, Nov 27, 2016 at 10:54 PM Justin Bogner <<a href="mailto:mail@justinbogner.com">mail@justinbogner.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Personally, I'd put it on `int` if I could. I don't see a problem with<br class="gmail_msg">
adding nodiscard to any of those types.<br class="gmail_msg"></blockquote><div><br></div><div>In that case how about adding a warning to clang, such as -wunused-result-strict that warns any time a return value is ignored, regardless of the presence of this attribute?</div></div></div>