On Tue, Jul 26, 2011 at 10:56 AM, FlyLanguage <span dir="ltr"><<a href="mailto:flylanguage@gmail.com">flylanguage@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
   #define ASSERT_STRM(cond, args) \<br>
     if (!(cond)) AssertionFailureStream(__FILE_<u></u>_, __LINE__) << args<br>
<br>
Note that there's no trailing semicolon, as this is supplied at the<br>
point where the macro is invoked.<br>
<br>
What do you think?<br>
</blockquote>
<br></div>
Neat, but inducing a debug trap is even more useful on asserts (optionally).<br>
</blockquote></div><br>What's the best way to do that? I'd like to incorporate it into my frontend's diagnostics.<br clear="all"><br>-- <br>-- Talin<br>