[Bug libstdc++/55682] erf, erfc placed in global namespace by <cmath> without --std=c++11

nico.schloemer at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 14 10:37:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55682

--- Comment #3 from Nico <nico.schloemer at gmail dot com> 2012-12-14 10:37:19 UTC ---
(In reply to comment #2)
> Then what? This is expected and conforming.

Oh, it just struck me as funny that cmath imports std::exp and friends, but not
std::erf. I filed the bug since apparently not only I was confused (cf.
http://gcc.gnu.org/ml/gcc-help/2012-12/msg00043.html).

Anyhow. I suppose libstdc++ is consistent in that cmath doesn't provide more
than what is in the standard.



More information about the Gcc-bugs mailing list