locale_facets.h (__timepunct::_M_put_helper): Declare specializations for char, wchar_t.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 19 Oct 2001 09:35:19 +0000 (09:35 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 19 Oct 2001 09:35:19 +0000 (09:35 +0000)
2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (__timepunct::_M_put_helper):
Declare specializations for char, wchar_t.

From-SVN: r46346

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.h

index f4f0034b7fb87c0a25afabfba5b241a260405225..a26b390b336a9d300aa6419549b91629c20a7f76 100644 (file)
@@ -1,9 +1,12 @@
+2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/locale_facets.h (__timepunct::_M_put_helper):
+       Declare specializations for char, wchar_t.
+
 2001-10-19  Andreas Jaeger  <aj@suse.de>
 
        * config/cpu/x86-64/bits/limits.h: New file.
-
        * config/cpu/x86-64/bits/atomicity.h: New file.
-
        * configure.target: Add x86-64.
 
 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
index 11bf14b1f24492153dbf2c73a19f71bd237a5cf4..4beb713f8b83093a581ab73476497e6c1d298046 100644 (file)
@@ -1250,10 +1250,35 @@ namespace std
   template<typename _CharT>
     locale::id __timepunct<_CharT>::id;
 
+  // Specializations.
   template<> 
     const char*
     __timepunct<char>::_S_timezones[14];
 
+  template<> 
+    void
+    __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc);
+
+  template<>
+    void
+    __timepunct<char>::_M_put_helper(char*, size_t, const char*, 
+                                    const tm*) const;
+
+#ifdef _GLIBCPP_USE_WCHAR_T
+  template<> 
+    const wchar_t*
+    __timepunct<wchar_t>::_S_timezones[14];
+
+  template<> 
+    void
+    __timepunct<wchar_t>::_M_initialize_timepunct(__c_locale __cloc);
+
+  template<>
+    void
+    __timepunct<wchar_t>::_M_put_helper(wchar_t*, size_t, const wchar_t*, 
+                                       const tm*) const;
+#endif
+
   // Generic.
   template<typename _CharT>
     const _CharT* __timepunct<_CharT>::_S_timezones[14];
@@ -1271,20 +1296,6 @@ namespace std
                                       const tm*) const
     { }
 
-  template<> 
-    void
-    __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc);
-
-#ifdef _GLIBCPP_USE_WCHAR_T
-  template<> 
-    const wchar_t*
-    __timepunct<wchar_t>::_S_timezones[14];
-
-  template<> 
-    void
-    __timepunct<wchar_t>::_M_initialize_timepunct(__c_locale __cloc);
-#endif
-
   template<typename _CharT, typename _InIter>
     class time_get : public locale::facet, public time_base
     {