<blockquote>
<p>I'm not sure what this returns to create a network of the appropriate type</p>
</blockquote>

<p>I think it should be something like</p>

<p><code>std::tuple&lt;ann::LinearLayer&lt;&gt;&amp;,  ann::BiasLayer&lt;&gt;&amp;, ....&gt;</code></p>

<p>If you call std::make_tuple, if will become</p>

<p><code>std::tuple&lt;ann::LinearLayer&lt;&gt;,  ann::BiasLayer&lt;&gt;, ....&gt;</code></p>

<p>You can take a look at <a href="http://www.boost.org/doc/libs/1_60_0/doc/html/boost_typeindex/examples.html">boost typeindex</a> too, this library could help you print the name of  type(I read them from meyers book, but haven't tried it yet)</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/531#issuecomment-190828861">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDWpLNy4n1vnuy_xpZEdKoI_PIkRks5ppHskgaJpZM4HmbCC.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/531#issuecomment-190828861"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>