]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/23875 (operator<<(short) should not call operator<<(long), etc.)
authorPaolo Carlini <pcarlini@suse.de>
Thu, 15 Sep 2005 17:27:23 +0000 (17:27 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 15 Sep 2005 17:27:23 +0000 (17:27 +0000)
commitf4ca8e2772e77b39efdb735ccf6dfd1b73389778
tree98f62ab59a889a5d7e2c70f0f1025004dd906ddf
parent14b33c04a1920fb97bde191021a509b439f3cf29
re PR libstdc++/23875 (operator<<(short) should not call operator<<(long), etc.)

2005-09-15  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/23875
* include/std/std_ostream.h (operator<<(short), operator<<(unsigned
short), operator<<(int), operator<<(unsigned int), operator<<(float)):
Don't call operator<<(long), operator<<(unsigned long), or
operator<<(double), do the work mandated by the resolution of DR117...
* include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
short), operator<<(int), operator<<(unsigned int), operator<<(float)):
... here.
* testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.

From-SVN: r104313
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ostream.tcc
libstdc++-v3/include/std/std_ostream.h
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc [new file with mode: 0644]