Parentheses around return values - why?
<p>Quite often I see code like this (C, C++ and sometimes Java):</p>

<pre><code>return (value);
</code></pre>

<p>I don't see any benefit of these parentheses. So my question is, have the programmers assumed <code>return</code> to be some kind of function with the return value as argument or are there really cases where these parentheses make sense?</p>

<p>I understand that a similar question has already been asked <a href="https://stackoverflow.com/questions/161879/parenthesis-surrounding-return-values">here</a>, but this is related to ANSI C only. I wonder if there are aspects specific to C++ or Java that have not been answered there.</p>