acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 31 May 2001 12:14:56 +0000 (12:14 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 31 May 2001 12:14:56 +0000 (12:14 +0000)
commitbfa1e6b11bb2708837ad3117ff4348955be08707
treeceaaac0bdc60dd79d70b07301e7aa375cd843bb4
parent20293b4c1b6b6de3e77775c119f32bfcec41f869
acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.

2001-05-30  Benjamin Kosnik  <bkoz@redat.com>

* acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
(_GLIBCPP_BUGGY_COMPLEX): Remove.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
* aclocal.m4: Regenerate.
* configure.in: Don't call it.
* configure: Regenerate.

libstdc++/2970
* src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
* testsuite/26_numerics/complex_inserters_extractors.cc (test01):
New test.

libstdc++/2985
* include/bits/std_complex.h: Include sstream. Put definitions for
complex inserters and extractors here, and remove them from...
* src/complex_io.cc: ...here.
* include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
parameter.
(basic_ios::__numget_type): Same.
* include/bits/std_istream.h: Same.
* include/bits/std_ostream.h: Same.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
class iterator template arguments.
* src/locale-inst.cc: Add explicit has_facet instantiations.
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(_M_get_fnumput): Remove.
(_M_get_fnumget): Remove.
(basic_ios::_M_check_facet): New function.
(basic_ios::_M_cache_facets): New function.
* include/bits/basic_ios.tcc: Definition for _M_cache_facets.
(basic_ios::imbue): Call _M_cache_facets.
(basic_ios::init): Same.
* include/bits/istream.tcc: Format, use _M_check_facet.
* include/bits/ostream.tcc: Same.
* include/bits/locale_facets.tcc (__output_float): Change
signature, add _Traits.
* testsuite/26_numerics/complex_inserters_extractors.cc (test02):
New test.

From-SVN: r42743
21 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/acconfig.h
libstdc++-v3/acinclude.m4
libstdc++-v3/aclocal.m4
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/configure.in
libstdc++-v3/include/bits/basic_ios.h
libstdc++-v3/include/bits/basic_ios.tcc
libstdc++-v3/include/bits/istream.tcc
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/include/bits/ostream.tcc
libstdc++-v3/include/bits/sbuf_iter.h
libstdc++-v3/include/bits/std_complex.h
libstdc++-v3/include/bits/std_iosfwd.h
libstdc++-v3/include/bits/std_istream.h
libstdc++-v3/include/bits/std_ostream.h
libstdc++-v3/include/bits/std_streambuf.h
libstdc++-v3/src/complex_io.cc
libstdc++-v3/src/locale-inst.cc
libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc