The reason for using C++14 is auto detection of return value in unit tests.<br>
I could create a global FFN and use it to &#39;decltype&#39;<br>
<br>
On Fri, Feb 12, 2016 at 5:12 AM, Marcus Edel &lt;notifications@github.com&gt;<br>
wrote:<br>
<br>
&gt; Okay, great so, I think we should merge this code first and then head over<br>
&gt; to #516 &lt;https://github.com/mlpack/mlpack/pull/516&gt;. We have to slightly<br>
&gt; modify #516 &lt;https://github.com/mlpack/mlpack/pull/516&gt;, I can do that if<br>
&gt; no one likes.<br>
&gt;<br>
&gt; About c++14 feature, could we postpone the use of them? Because there are<br>
&gt; a lot of c++14 features do not support by vc2013. Although vc2015 out, but<br>
&gt; cuda do not support vc2015 yet.<br>
&gt;<br>
&gt; The test should build using a C++11 compiler because of the<br>
&gt; conditional-compilation directives Joseph used. But I agree, we should<br>
&gt; avoid C++14 features for the moment, we can easily rewrite the test. I can<br>
&gt; do that once the code is merged.<br>
&gt;<br>
&gt; —<br>
&gt; Reply to this email directly or view it on GitHub<br>
&gt; &lt;https://github.com/mlpack/mlpack/pull/519#issuecomment-182984919&gt;.<br>
&gt;<br>
<br>
<br>
<br>
-- <br>
Joseph Chakravarti Mariadassou<br>
http://thesundayprogrammer.com<br>


<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/pull/519#issuecomment-183054592">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFP_VLBvI4CsrlaG3gS_hj5IG8jhkks5pjOrEgaJpZM4HWwxL.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/pull/519#issuecomment-183054592"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>