From 0435a3f8cab27de41051b3a9e0fe9fa110db6c5d Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Fri, 1 Sep 2000 22:02:49 +0000 Subject: [PATCH] locale-inst.cc: Remove pre-instantiation of unicode codecvt types. 2000-09-01 Benjamin Kosnik * src/locale-inst.cc: Remove pre-instantiation of unicode codecvt types. Now unnecessary, as locale header now correct. From-SVN: r36105 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/src/locale-inst.cc | 22 ---------------------- 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ce442724195..5f5e3d8c1a2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2000-09-01 Benjamin Kosnik + + * src/locale-inst.cc: Remove pre-instantiation of unicode + codecvt types. Now unnecessary, as locale header now correct. + 2000-08-31 Benjamin Kosnik * bits/locale_facets.tcc (_S_build_float_format): Move ... diff --git a/libstdc++-v3/src/locale-inst.cc b/libstdc++-v3/src/locale-inst.cc index 20ff88d584f..3b8b9819a21 100644 --- a/libstdc++-v3/src/locale-inst.cc +++ b/libstdc++-v3/src/locale-inst.cc @@ -131,28 +131,6 @@ namespace std { // codecvt template class __codecvt_abstract_base; template class __codecvt_abstract_base; -#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& - use_facet >(const locale&); - template - bool - has_facet >(const locale &); - - template - const codecvt& - use_facet >(const locale&); - template - bool - has_facet >(const locale &); -#endif // collate template class _Collate; -- 2.30.2