<div class="gmail_quote">On Wed, Aug 17, 2011 at 12:04, Chetan Jhurani <span dir="ltr"><<a href="mailto:chetan.jhurani@gmail.com">chetan.jhurani@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1hv">void f(const int n, int* j)<br>
{<br>
    *j = n;<br>
    n = 0; // error<br>
}<br>
<br>
Of course it is more useful for preventing bugs in more complex<br>
functions.</div></blockquote></div><br><div>This is a semantic of the implementation, not the interface, so it doesn't belong in the interface. It's not truly meaningless, just meaningless to the caller.</div>