diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-20 19:20:41 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-20 19:20:41 +0000 |
commit | 5ea323351d6663f9037293dc1a2ce584c5312534 (patch) | |
tree | 5b6105807e37344eaf87a70de945a7c24488cac3 | |
parent | a24f7403d7036100ae5b6d0d0a03636598be30f6 (diff) | |
download | gcc-5ea323351d6663f9037293dc1a2ce584c5312534.tar.gz |
* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
wchar types.
(_S_min_len): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54850 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/src/ext-inst.cc | 21 |
2 files changed, 25 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1f1174dec82..f04ef50830d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-06-20 Steve Ellcey <sje@cup.hp.com> + * src/ext-inst.cc (_S_fetch): Add explicit templates for char and + wchar types. + (_S_min_len): Ditto. + 2002-06-20 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am: Add rules. diff --git a/libstdc++-v3/src/ext-inst.cc b/libstdc++-v3/src/ext-inst.cc index 93229f04007..b7af68242f7 100644 --- a/libstdc++-v3/src/ext-inst.cc +++ b/libstdc++-v3/src/ext-inst.cc @@ -36,13 +36,32 @@ namespace std { + using __gnu_cxx::stdio_filebuf; + template const unsigned long __gnu_cxx::rope<char, std::allocator<char> >::_S_min_len; - using __gnu_cxx::stdio_filebuf; + template + char + __gnu_cxx::rope<char, std::allocator<char> >:: + _S_fetch(__gnu_cxx::_Rope_RopeRep<char, std::allocator<char> >*, + unsigned long); + template class stdio_filebuf<char>; + #ifdef _GLIBCPP_USE_WCHAR_T + template + const unsigned long + __gnu_cxx::rope<wchar_t, std::allocator<wchar_t> >::_S_min_len; + + template + wchar_t + __gnu_cxx::rope<wchar_t, std::allocator<wchar_t> >:: + _S_fetch(__gnu_cxx::_Rope_RopeRep<wchar_t, std::allocator<wchar_t> >*, + unsigned long); + template class stdio_filebuf<wchar_t>; #endif + } // namespace std |