diff options
author | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-27 07:26:00 +0000 |
---|---|---|
committer | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-27 07:26:00 +0000 |
commit | db6650e84fa3d8ee828da063f51fc0ec59c5de96 (patch) | |
tree | d18406ff2b15a17ed0dbfc1e7b6295f787ffbb7e /libstdc++-v3/src/misc-inst.cc | |
parent | e5a359cd157e6e32a2b6d29d1b01e34cae3db139 (diff) | |
download | gcc-db6650e84fa3d8ee828da063f51fc0ec59c5de96.tar.gz |
2001-12-27 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/3829
* src/misc-inst.cc: Many additional I/O-related instantiations.
* testsuite/27_io/instantiations.cc: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/misc-inst.cc')
-rw-r--r-- | libstdc++-v3/src/misc-inst.cc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libstdc++-v3/src/misc-inst.cc b/libstdc++-v3/src/misc-inst.cc index 484a551c44d..ab2f2aa6385 100644 --- a/libstdc++-v3/src/misc-inst.cc +++ b/libstdc++-v3/src/misc-inst.cc @@ -44,6 +44,7 @@ #include <bits/std_istream.h> #include <bits/std_ostream.h> #include <bits/std_string.h> +#include <bits/std_iomanip.h> // NB: unnecessary if the .h headers include these #ifndef _GLIBCPP_FULLY_COMPLIANT_HEADERS @@ -94,6 +95,17 @@ namespace std // + // iomanip + // + template class _Setfill<char>; + template _Setfill<char> setfill(char); +#ifdef _GLIBCPP_USE_WCHAR_T + template class _Setfill<wchar_t>; + template _Setfill<wchar_t> setfill(wchar_t); +#endif + + + // // istream // template class basic_istream<char>; @@ -104,11 +116,20 @@ namespace std template istream& operator>>(istream&, char*); template istream& operator>>(istream&, unsigned char*); template istream& operator>>(istream&, signed char*); + + template istream& operator>>(istream&, _Setiosflags); + template istream& operator>>(istream&, _Resetiosflags); + template istream& operator>>(istream&, _Setbase); + template istream& operator>>(istream&, _Setfill<char>); + template istream& operator>>(istream&, _Setprecision); + template istream& operator>>(istream&, _Setw); + #ifdef _GLIBCPP_USE_WCHAR_T template class basic_istream<wchar_t>; template wistream& ws(wistream&); template wistream& operator>>(wistream&, wchar_t&); template wistream& operator>>(wistream&, wchar_t*); + template wistream& operator>>(wistream&, _Setfill<wchar_t>); #endif @@ -125,6 +146,14 @@ namespace std template ostream& operator<<(ostream&, const char*); template ostream& operator<<(ostream&, const unsigned char*); template ostream& operator<<(ostream&, const signed char*); + + template ostream& operator<<(ostream&, _Setiosflags); + template ostream& operator<<(ostream&, _Resetiosflags); + template ostream& operator<<(ostream&, _Setbase); + template ostream& operator<<(ostream&, _Setfill<char>); + template ostream& operator<<(ostream&, _Setprecision); + template ostream& operator<<(ostream&, _Setw); + #ifdef _GLIBCPP_USE_WCHAR_T template class basic_ostream<wchar_t>; template wostream& endl(wostream&); @@ -134,6 +163,7 @@ namespace std template wostream& operator<<(wostream&, char); template wostream& operator<<(wostream&, const wchar_t*); template wostream& operator<<(wostream&, const char*); + template wostream& operator<<(wostream&, _Setfill<wchar_t>); #endif |