<div dir="ltr">I think I got it. I will throw a new diff up within the hour. <div><br></div><div>Thanks for the ideas :) </div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 30, 2016 at 6:48 PM Malcolm Parsons <<a href="mailto:malcolm.parsons@gmail.com">malcolm.parsons@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30 November 2016 at 17:18, Mads Ravn <<a href="mailto:madsravn@gmail.com" class="gmail_msg" target="_blank">madsravn@gmail.com</a>> wrote:<br class="gmail_msg">
> So remove the ifStmt from the third and fourth case?<br class="gmail_msg">
<br class="gmail_msg">
I was thinking all cases.<br class="gmail_msg">
Can the first case be restricted to casts to bool?<br class="gmail_msg">
If not, keep the cast to int case with an ifStmt and add a cast to bool case.<br class="gmail_msg">
Does it matter whether the cast is implicit?<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
Malcolm Parsons<br class="gmail_msg">
</blockquote></div>