<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">

Possibly strongly-pure functions could be marked as pure in the 'C' sense, but only if they are also nothrow, eg to add to the above example:<br><br>---<br>pure nothrow int baz (Foo f)<br>{<br>  return f.bar(2) + f.bar(2);<br>

}<br>---<br><br></div></div></blockquote></div><br></div><div class="gmail_extra">Or a better example that could also be pure in the 'C' sense.<br><br></div><div class="gmail_extra">int baz (Foo f) pure nothrow<br>
{<br></div><div class="gmail_extra">  return f.bar(f.a) + f.bar(f.a);<br></div><div class="gmail_extra">}<br clear="all"></div><div class="gmail_extra"><br><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>