re PR libstdc++/16715 (std::basic_iostream is instantiated when used, even though instantiations are already contained in libstdc++)
2004-09-02 Benjamin Kosnik <bkoz@redhat.com> Simon Richter <Simon.Richter@hogyros.de> PR libstdc++/16715 * include/bits/istream.tcc: Add extern template for iostream char and wchar_t instantiations. Co-Authored-By: Simon Richter <Simon.Richter@hogyros.de> From-SVN: r86980
This commit is contained in:
parent
1a5ffec4eb
commit
98599ff8ba
@ -1,3 +1,10 @@
|
||||
2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
|
||||
Simon Richter <Simon.Richter@hogyros.de>
|
||||
|
||||
PR libstdc++/16715
|
||||
* include/bits/istream.tcc: Add extern template for iostream
|
||||
char and wchar_t instantiations.
|
||||
|
||||
2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
|
||||
Leland Wang <llwang@infor.org>
|
||||
|
||||
|
@ -1288,11 +1288,15 @@ namespace std
|
||||
extern template istream& operator>>(istream&, unsigned char*);
|
||||
extern template istream& operator>>(istream&, signed char*);
|
||||
|
||||
extern template class basic_iostream<char>;
|
||||
|
||||
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||
extern template class basic_istream<wchar_t>;
|
||||
extern template wistream& ws(wistream&);
|
||||
extern template wistream& operator>>(wistream&, wchar_t&);
|
||||
extern template wistream& operator>>(wistream&, wchar_t*);
|
||||
|
||||
extern template class basic_iostream<wchar_t>;
|
||||
#endif
|
||||
#endif
|
||||
} // namespace std
|
||||
|
Loading…
Reference in New Issue
Block a user