ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 20 Jun 2002 20:13:46 +0000 (20:13 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 20 Jun 2002 20:13:46 +0000 (20:13 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/src/ext-inst.cc

index f04ef50830d95260149482d7f7874873e200468f..c1d2b677ce5ce0a9792ba5b16ade25390c23ac0d 100644 (file)
@@ -1,4 +1,10 @@
+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>
+
        * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
        wchar types.
        (_S_min_len): Ditto.
index b7af68242f75799bf0ede1f29754cd6e2ed3228c..4896b110d42b8cbdd6959661ff23c1ed53a8ed05 100644 (file)
 #include <ext/rope>
 #include <ext/stdio_filebuf.h>
 
-namespace std
+namespace __gnu_cxx
 {
-  using __gnu_cxx::stdio_filebuf;
-
   template
     const unsigned long 
-    __gnu_cxx::rope<char, std::allocator<char> >::_S_min_len;
+    rope<char, std::allocator<char> >::_S_min_len;
 
   template
     char
-    __gnu_cxx::rope<char, std::allocator<char> >::
-    _S_fetch(__gnu_cxx::_Rope_RopeRep<char, std::allocator<char> >*,
-            unsigned long);
+    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
-    __gnu_cxx::rope<wchar_t, std::allocator<wchar_t> >::_S_min_len;
+    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);
+    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 std
+} // namespace __gnu_cxx