mirror of git://gcc.gnu.org/git/gcc.git
locale_facets.h (__timepunct::_M_put_helper): Declare specializations for char, wchar_t.
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
This commit is contained in:
parent
f08d20cd2e
commit
1ab8a33ed5
|
|
@ -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>
|
2001-10-19 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* config/cpu/x86-64/bits/limits.h: New file.
|
* config/cpu/x86-64/bits/limits.h: New file.
|
||||||
|
|
||||||
* config/cpu/x86-64/bits/atomicity.h: New file.
|
* config/cpu/x86-64/bits/atomicity.h: New file.
|
||||||
|
|
||||||
* configure.target: Add x86-64.
|
* configure.target: Add x86-64.
|
||||||
|
|
||||||
2001-10-17 Phil Edwards <pme@gcc.gnu.org>
|
2001-10-17 Phil Edwards <pme@gcc.gnu.org>
|
||||||
|
|
|
||||||
|
|
@ -1250,10 +1250,35 @@ namespace std
|
||||||
template<typename _CharT>
|
template<typename _CharT>
|
||||||
locale::id __timepunct<_CharT>::id;
|
locale::id __timepunct<_CharT>::id;
|
||||||
|
|
||||||
|
// Specializations.
|
||||||
template<>
|
template<>
|
||||||
const char*
|
const char*
|
||||||
__timepunct<char>::_S_timezones[14];
|
__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.
|
// Generic.
|
||||||
template<typename _CharT>
|
template<typename _CharT>
|
||||||
const _CharT* __timepunct<_CharT>::_S_timezones[14];
|
const _CharT* __timepunct<_CharT>::_S_timezones[14];
|
||||||
|
|
@ -1271,20 +1296,6 @@ namespace std
|
||||||
const tm*) const
|
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>
|
template<typename _CharT, typename _InIter>
|
||||||
class time_get : public locale::facet, public time_base
|
class time_get : public locale::facet, public time_base
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue