[LLVMbugs] [Bug 23276] Template version of std::pow fails to compile
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Apr 19 08:44:19 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23276
Eric Fiselier <eric at efcs.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
See Also| |https://llvm.org/bugs/show_
| |bug.cgi?id=22486
Resolution|--- |INVALID
--- Comment #4 from Eric Fiselier <eric at efcs.ca> ---
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.
https://llvm.org/bugs/show_bug.cgi?id=22486
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150419/0b90006a/attachment.html>
More information about the llvm-bugs
mailing list