+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>
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];
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
{