mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 19:20:44 +08:00
locale-inst.cc: Remove pre-instantiation of unicode codecvt types.
2000-09-01 Benjamin Kosnik <bkoz@cygnus.com> * src/locale-inst.cc: Remove pre-instantiation of unicode codecvt types. Now unnecessary, as locale header now correct. From-SVN: r36105
This commit is contained in:
parent
8a09bb272c
commit
0435a3f8ca
@ -1,3 +1,8 @@
|
||||
2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
|
||||
|
||||
* src/locale-inst.cc: Remove pre-instantiation of unicode
|
||||
codecvt types. Now unnecessary, as locale header now correct.
|
||||
|
||||
2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
|
||||
|
||||
* bits/locale_facets.tcc (_S_build_float_format): Move ...
|
||||
|
@ -131,28 +131,6 @@ namespace std {
|
||||
// codecvt
|
||||
template class __codecvt_abstract_base<char, char, mbstate_t>;
|
||||
template class __codecvt_abstract_base<wchar_t, char, mbstate_t>;
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
// XXX This should not be necessary. Unfortunately, the has_facet
|
||||
// and use_facet defines are not in the headers, an instead in
|
||||
// locale_facets.tcc for the time being, as they use std::vector and
|
||||
// thus compile time double when they are pushed up to the top-level
|
||||
// includes.
|
||||
typedef unsigned short unicode_t;
|
||||
|
||||
template
|
||||
const codecvt<unicode_t, char, __enc_traits>&
|
||||
use_facet<codecvt<unicode_t, char, __enc_traits> >(const locale&);
|
||||
template
|
||||
bool
|
||||
has_facet<codecvt<unicode_t, char, __enc_traits> >(const locale &);
|
||||
|
||||
template
|
||||
const codecvt<unicode_t, wchar_t, __enc_traits>&
|
||||
use_facet<codecvt<unicode_t, wchar_t, __enc_traits> >(const locale&);
|
||||
template
|
||||
bool
|
||||
has_facet<codecvt<unicode_t, wchar_t, __enc_traits> >(const locale &);
|
||||
#endif
|
||||
|
||||
// collate
|
||||
template class _Collate<char>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user