complex_io.cc: Don't instantiate inserters and extractors for wide-character streams unless...

2000-05-04  Branko Cibej  <branko.cibej@hermes.si>

        * src/complex_io.cc: Don't instantiate inserters and extractors
        for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.

From-SVN: r33770
This commit is contained in:
Branko Cibej 2000-05-08 20:32:58 +02:00 committed by Benjamin Kosnik
parent afc2cd0575
commit bfe5c12158
2 changed files with 21 additions and 12 deletions

View File

@ -7,6 +7,11 @@
* testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
instead of _M_buf_size.
2000-05-04 Branko Cibej <branko.cibej@hermes.si>
* src/complex_io.cc: Don't instantiate inserters and extractors
for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
Felix Natter <fnatter@gmx.net>

View File

@ -92,64 +92,66 @@ namespace std
template
basic_istream< char, char_traits<char> >&
basic_istream<char, char_traits<char> >&
operator>>(basic_istream< char, char_traits<char> >&,
complex<float>&);
template
basic_ostream< char, char_traits<char> >&
basic_ostream<char, char_traits<char> >&
operator<<(basic_ostream< char, char_traits<char> >&,
const complex<float>&);
template
basic_istream< char, char_traits<char> >&
basic_istream<char, char_traits<char> >&
operator>>(basic_istream< char, char_traits<char> >&,
complex<double>&);
template
basic_ostream< char, char_traits<char> >&
basic_ostream<char, char_traits<char> >&
operator<<(basic_ostream< char, char_traits<char> >&,
const complex<double>&);
template
basic_istream< char, char_traits<char> >&
basic_istream<char, char_traits<char> >&
operator>>(basic_istream< char, char_traits<char> >&,
complex<long double>&);
template
basic_ostream< char, char_traits<char> >&
basic_ostream<char, char_traits<char> >&
operator<<(basic_ostream< char, char_traits<char> >&,
const complex<long double>&);
#ifdef _GLIBCPP_USE_WCHAR_T
template
basic_istream< wchar_t, char_traits<wchar_t> >&
basic_istream<wchar_t, char_traits<wchar_t> >&
operator>>(basic_istream< wchar_t, char_traits<wchar_t> >&,
complex<float>&);
template
basic_ostream< wchar_t, char_traits<wchar_t> >&
basic_ostream<wchar_t, char_traits<wchar_t> >&
operator<<(basic_ostream< wchar_t, char_traits<wchar_t> >&,
const complex<float>&);
template
basic_istream< wchar_t, char_traits<wchar_t> >&
basic_istream<wchar_t, char_traits<wchar_t> >&
operator>>(basic_istream< wchar_t, char_traits<wchar_t> >&,
complex<double>&);
template
basic_ostream< wchar_t, char_traits<wchar_t> >&
basic_ostream<wchar_t, char_traits<wchar_t> >&
operator<<(basic_ostream< wchar_t, char_traits<wchar_t> >&,
const complex<double>&);
template
basic_istream< wchar_t, char_traits<wchar_t> >&
basic_istream<wchar_t, char_traits<wchar_t> >&
operator>>(basic_istream< wchar_t, char_traits<wchar_t> >&,
complex<long double>&);
template
basic_ostream< wchar_t, char_traits<wchar_t> >&
basic_ostream<wchar_t, char_traits<wchar_t> >&
operator<<(basic_ostream< wchar_t, char_traits<wchar_t> >&,
const complex<long double>&);
#endif //_GLIBCPP_USE_WCHAR_T
}
@ -158,3 +160,5 @@ namespace std