<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Template version of std::pow fails to compile"
href="https://llvm.org/bugs/show_bug.cgi?id=23276">bug 23276</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">See Also</td>
<td>
</td>
<td>https://llvm.org/bugs/show_bug.cgi?id=22486
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Template version of std::pow fails to compile"
href="https://llvm.org/bugs/show_bug.cgi?id=23276#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Template version of std::pow fails to compile"
href="https://llvm.org/bugs/show_bug.cgi?id=23276">bug 23276</a>
from <span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span></b>
<pre>This is not a bug in libc++, that is a bug in your sample code. Nothing in the
standard says std::pow is a template so writing std::pow<float>(...) is not a
valid way to use std::pow.
See this bug for a better discussion about what is going on.
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - std::pow<double, double> fails compilation"
href="show_bug.cgi?id=22486">https://llvm.org/bugs/show_bug.cgi?id=22486</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>