<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 9, 2015 at 5:04 PM, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p></p>
</span><p>Yes a compiler intrinsic could handle that. In the end all three syntaxes are the same code representation anyway: namely an if-node.<br>
The IfThen() intrinsic would be fine with me as well. Let's call this our common ground ;)</p></blockquote><div>I wonder if replacing Ifthen() inline function, with a common intrinsic keeps the compatibility. <br></div><div><br>Just because it is "inline" in the end, the generated code forced the proper order of valuation: condition goes first at then the proper expression.<br><br></div><div>However, "inline" is just a hint, rather than a rule for the compiler. <br>And if there's a place, where the function was not inlined, then the compatibility might break.<br></div><div>... causing to think about a different name.<br></div><div><br></div><div>thanks,<br></div><div>Dmitry <br></div></div></div></div>