[Bug libstdc++/55682] erf, erfc placed in global namespace by <cmath> without --std=c++11
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 14 10:44:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55682
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-14 10:44:25 UTC ---
(In reply to comment #3)
> Oh, it just struck me as funny that cmath imports std::exp and friends, but not
> std::erf.
std::exp is in C++98, std::erf isn't.
As I said on the list, I assumed you were using -std=c++11 when you said it
wasn't in <cmath>
More information about the Gcc-bugs
mailing list