pan>
<span id="cb73-8"><a href="200_robject.html#cb73-8"></a>    <span class="cf">return</span> x;</span>
<span id="cb73-9"><a href="200_robject.html#cb73-9"></a>}</span></code></pre></div>
<p>However, this will not compile. To quote <a href="https://gallery.rcpp.org/articles/rcpp-return-macros/">Nathan Russell’s article</a>:</p>
<blockquote>
<p>Sadly this does not work: magical as Rcpp attributes may be, there are limits to what they can do, and at least for the time being, translating C++ template funct