Commit 12d0271c by Benjamin Kosnik Committed by Benjamin Kosnik

ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.


2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>

        * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
        Use size_type instead of unsigned long.

From-SVN: r54854
parent e0d98a92
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
Use size_type instead of unsigned long.
2002-06-20 Steve Ellcey <sje@cup.hp.com> 2002-06-20 Steve Ellcey <sje@cup.hp.com>
* src/ext-inst.cc (_S_fetch): Add explicit templates for char and * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
wchar types. wchar types.
(_S_min_len): Ditto. (_S_min_len): Ditto.
......
...@@ -34,34 +34,29 @@ ...@@ -34,34 +34,29 @@
#include <ext/rope> #include <ext/rope>
#include <ext/stdio_filebuf.h> #include <ext/stdio_filebuf.h>
namespace std namespace __gnu_cxx
{ {
using __gnu_cxx::stdio_filebuf;
template template
const unsigned long const unsigned long
__gnu_cxx::rope<char, std::allocator<char> >::_S_min_len; rope<char, std::allocator<char> >::_S_min_len;
template template
char char
__gnu_cxx::rope<char, std::allocator<char> >:: rope<char, std::allocator<char> >::
_S_fetch(__gnu_cxx::_Rope_RopeRep<char, std::allocator<char> >*, _S_fetch(_Rope_RopeRep<char, std::allocator<char> >*, size_type);
unsigned long);
template class stdio_filebuf<char>; template class stdio_filebuf<char>;
#ifdef _GLIBCPP_USE_WCHAR_T #ifdef _GLIBCPP_USE_WCHAR_T
template template
const unsigned long const unsigned long
__gnu_cxx::rope<wchar_t, std::allocator<wchar_t> >::_S_min_len; rope<wchar_t, std::allocator<wchar_t> >::_S_min_len;
template template
wchar_t wchar_t
__gnu_cxx::rope<wchar_t, std::allocator<wchar_t> >:: rope<wchar_t, std::allocator<wchar_t> >::
_S_fetch(__gnu_cxx::_Rope_RopeRep<wchar_t, std::allocator<wchar_t> >*, _S_fetch(_Rope_RopeRep<wchar_t, std::allocator<wchar_t> >*, size_type);
unsigned long);
template class stdio_filebuf<wchar_t>; template class stdio_filebuf<wchar_t>;
#endif #endif
} // namespace __gnu_cxx
} // namespace std
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment