<p>I am trying to modify mlpack::ann::BuildVanillaNetwork to return FFN:<br>
<code>return FFN&lt;decltype(modules), decltype(classOutputLayer), PerformanceFunctionType&gt;(modules, classOutputLayer);</code><br>
 But compilation fails with:<br>
 attempting to reference a deleted function Perhaps, one of the items in the tuple does not support copy construction</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/510">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFN_ZkI0y-h3TSqyKNkWpv-WOrtdzks5penRSgaJpZM4HOq_n.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/510"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>