<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 23 February 2014 22:55, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 2/23/2014 4:53 AM, ponce wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sunday, 23 February 2014 at 12:07:40 UTC, Walter Bright wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://wiki.dlang.org/DIP56" target="_blank">http://wiki.dlang.org/DIP56</a><br>
<br>
Manu has needed always inlining, and I've needed never inlining. This DIP<br>
proposes a simple solution.<br>
</blockquote>
<br>
This is great. I bet this will be useful.<br>
<br>
I tend to prefer force-inline/force-not-inline at call site, but realized the<br>
proposal will let me do it:<br>
<br>
void myFun(bool inlined)(int arg)<br>
{<br>
     static if (inlined)<br>
         pragma(inline, true);<br>
     else<br>
         pragma(inline, false);<br>
}<br>
<br>
Then inlining can be entirely explicit :)<br>
</blockquote>
<br></div></div>
Or better:<br>
<br>
void myFun(bool inlined)(int arg)<br>
{<br>
    pragma(inline, inlined);<br>
}<br>
<br>
:-)<br>
</blockquote></div><br></div><div class="gmail_extra">Really? I think you're just trying to be different for the sake of being different :P</div></div>