itle="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>That being said, functions may <strong>not</strong> use the same name if their signature <em>only</em> differs by the return type.</p>
<p>For example, the following is not permitted</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="co">// illegal</span></span>
<span id="cb5