diff options
Diffstat (limited to 'contrib/libstdc++/src/ext-inst.cc')
-rw-r--r-- | contrib/libstdc++/src/ext-inst.cc | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/contrib/libstdc++/src/ext-inst.cc b/contrib/libstdc++/src/ext-inst.cc index 21b98c8..4896b11 100644 --- a/contrib/libstdc++/src/ext-inst.cc +++ b/contrib/libstdc++/src/ext-inst.cc @@ -1,6 +1,6 @@ // Explicit instantiation file. -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,9 +32,31 @@ // #include <ext/rope> +#include <ext/stdio_filebuf.h> -namespace std +namespace __gnu_cxx { template - const unsigned long __gnu_cxx::rope<char, std::allocator<char> >::_S_min_len; -} // namespace std + const unsigned long + rope<char, std::allocator<char> >::_S_min_len; + + template + char + rope<char, std::allocator<char> >:: + _S_fetch(_Rope_RopeRep<char, std::allocator<char> >*, size_type); + + template class stdio_filebuf<char>; + +#ifdef _GLIBCPP_USE_WCHAR_T + template + const unsigned long + rope<wchar_t, std::allocator<wchar_t> >::_S_min_len; + + template + wchar_t + rope<wchar_t, std::allocator<wchar_t> >:: + _S_fetch(_Rope_RopeRep<wchar_t, std::allocator<wchar_t> >*, size_type); + + template class stdio_filebuf<wchar_t>; +#endif +} // namespace __gnu_cxx |