This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13924] #include<vector> imports partial definition of std::abs
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2004 23:28:49 -0000
- Subject: [Bug libstdc++/13924] #include<vector> imports partial definition of std::abs
- References: <20040129204319.13924.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-01-29 23:28 -------
I'm not sure whether we should just close this PR. I mean, assume
that by #including <vector> we had, for some reason, only got one
std::abs function. Then the argument would have been converted
and the program had compiled. While this is clearly the correct
behavior of the compiler, it is a QoI issue whether we would want
that or not.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13924