Paolo Carlini
530ce5517c
locale_facets.tcc (time_put::put): Minor tweak to the previous commit.
...
2003-10-01 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (time_put::put): Minor
tweak to the previous commit.
From-SVN: r71977
2003-10-01 15:43:07 +00:00
Paolo Carlini
52a16d0815
re PR libstdc++/12439 (Problems in time_put::put)
...
2003-10-01 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12439
* include/bits/locale_facets.tcc (time_put::put): Deal
with the three issues pointed out by the PR.
* testsuite/22_locale/time_put/put/char/12439_1.cc: New.
* testsuite/22_locale/time_put/put/char/12439_3.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
From-SVN: r71976
2003-10-01 14:32:05 +00:00
GCC Administrator
6ab7003d15
Daily bump.
...
From-SVN: r71963
2003-10-01 00:16:08 +00:00
Paolo Carlini
ae7c3ba55f
stl_algo.h: Minor cosmetic reformattings.
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h: Minor cosmetic reformattings.
From-SVN: r71950
2003-09-30 20:16:28 +00:00
Paolo Carlini
cbc6c296e6
stl_algo.h (search_n): Tweak, to spare the first --__n.
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (search_n): Tweak, to spare the
first --__n.
From-SVN: r71946
2003-09-30 17:03:52 +00:00
Paolo Carlini
155f6fbb62
re PR libstdc++/12438 (Memory leak in locale::combine())
...
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12438
* include/bits/locale_facets.tcc (locale::combine): Don't
leak memory if _M_replace_facet throws.
* testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Tweak, use consistently _M_remove_reference.
From-SVN: r71943
2003-09-30 13:44:59 +00:00
GCC Administrator
3c44a3c4b7
Daily bump.
...
From-SVN: r71929
2003-09-30 00:16:07 +00:00
Paolo Carlini
6821a40b74
stl_algo.h (search_n): Improve the previous fix as suggested by Martin.
...
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (search_n): Improve the previous
fix as suggested by Martin.
From-SVN: r71913
2003-09-29 19:43:04 +00:00
Paolo Carlini
e5012ba5ec
[multiple changes]
...
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12296
* include/bits/istream.tcc (peek): Set eofbit if sgetc
returns eof.
* testsuite/27_io/basic_istream/peek/char/12296.cc:
New, from the PR.
2003-09-29 Nathan Myers <ncm@cantrip.org>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11400
* include/bits/stl_algo.h (search_n):
Use iterator_traits<>::difference_type for __n.
* testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
From-SVN: r71911
2003-09-29 17:36:18 +00:00
GCC Administrator
e8cadb6970
Daily bump.
...
From-SVN: r71888
2003-09-29 00:16:07 +00:00
GCC Administrator
5a36731a8d
Daily bump.
...
From-SVN: r71868
2003-09-28 00:16:09 +00:00
GCC Administrator
07a6b250e7
Daily bump.
...
From-SVN: r71846
2003-09-27 00:16:06 +00:00
Paolo Carlini
91675f9d25
re PR libstdc++/12352 (Exception safety problems in src/localename.cc)
...
2003-09-25 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12352
* src/localename.cc (locale::_Impl::_Impl(const _Impl&,
size_t)): Don't leak if memory allocations for _M_facets,
_M_caches, and _M_names fail.
(locale::_Impl::_Impl(const char*, size_t)): Ditto.
(locale::_Impl::_M_replace_categories(const _Impl*,
category)): Ditto.
(locale::_Impl::_M_install_facet(const locale::id*,
const facet*)): Ditto.
* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Don't leak memory.
* testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
* src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
bool)): Qualify with std:: strcpy, tweak.
* include/bits/locale_classes.h
(locale::_Impl::_M_check_same_name): Qualify strcmp.
From-SVN: r71808
2003-09-26 00:22:01 +00:00
GCC Administrator
81a1dd1872
Daily bump.
...
From-SVN: r71806
2003-09-26 00:16:06 +00:00
GCC Administrator
3b6fdb2fa0
Daily bump.
...
From-SVN: r71746
2003-09-25 00:16:06 +00:00
GCC Administrator
3eaf1216b9
Daily bump.
...
From-SVN: r71706
2003-09-24 00:16:08 +00:00
Benjamin Kosnik
11f10e6b1f
locale_facets.tcc: Tweak to avoid warnings.
...
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings.
* testsuite/testsuite_hooks.h: Same.
* testsuite/*/*.cc: Same.
From-SVN: r71693
2003-09-23 20:03:30 +00:00
GCC Administrator
2f2846abe7
Daily bump.
...
From-SVN: r71671
2003-09-23 00:16:07 +00:00
Petur Runolfsson
89ec0c4ba6
istream.tcc (basic_istream::read, [...]): Avoid redundant setstate(failbit) calls when sentry::operator bool() returns false.
...
2003-09-22 Petur Runolfsson <peturr02@ru.is>
* include/bits/istream.tcc (basic_istream::read,
basic_istream::readsome, basic_istream::putback,
basic_istream::unget, operator>>(basic_istream, CharT)):
Avoid redundant setstate(failbit) calls when sentry::operator bool()
returns false.
From-SVN: r71662
2003-09-22 18:29:56 +00:00
Carlo Wood
dc25fbc79b
re PR libstdc++/12365 (include/g++/bits/demangle.h:155: warning: unused parameter 'cv_qualifier')
...
2003-09-22 Carlo Wood <carlo@alinoe.com>
PR libstdc++/12365
* include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
char const*, int, int)): Remove unused identifier
cv_qualifier for overloaded constructor.
From-SVN: r71653
2003-09-22 14:39:16 +00:00
GCC Administrator
0f7fcd6a40
Daily bump.
...
From-SVN: r71638
2003-09-22 00:16:08 +00:00
GCC Administrator
5f0ccd0b63
Daily bump.
...
From-SVN: r71615
2003-09-21 00:16:07 +00:00
GCC Administrator
f55f60a5ea
Daily bump.
...
From-SVN: r71595
2003-09-20 00:16:06 +00:00
GCC Administrator
7f7de61bde
Daily bump.
...
From-SVN: r71552
2003-09-19 00:16:07 +00:00
GCC Administrator
3b51279d9e
Daily bump.
...
From-SVN: r71493
2003-09-18 00:16:06 +00:00
GCC Administrator
2339fbfdca
Daily bump.
...
From-SVN: r71448
2003-09-17 00:16:08 +00:00
GCC Administrator
02dcfdcc6d
Daily bump.
...
From-SVN: r71418
2003-09-16 00:16:06 +00:00
GCC Administrator
bd12da498d
Daily bump.
...
From-SVN: r71390
2003-09-15 00:16:06 +00:00
GCC Administrator
3428576c06
Daily bump.
...
From-SVN: r71366
2003-09-14 00:16:09 +00:00
GCC Administrator
185c3caab1
Daily bump.
...
From-SVN: r71349
2003-09-13 00:16:08 +00:00
GCC Administrator
e4bee82f89
Daily bump.
...
From-SVN: r71325
2003-09-12 00:16:07 +00:00
GCC Administrator
6b657b2e09
Daily bump.
...
From-SVN: r71287
2003-09-11 00:16:07 +00:00
Petur Runolfsson
8c8dec01e2
fstream.tcc (basic_filebuf::seekoff): Use codecvt::length to handle variable-width stateless encodings correctly.
...
2003-09-10 Petur Runolfsson <peturr02@ru.is>
* include/bits/fstream.tcc (basic_filebuf::seekoff):
Use codecvt::length to handle variable-width stateless encodings
correctly.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
From-SVN: r71271
2003-09-10 13:43:15 +00:00
GCC Administrator
6fe055ae46
Daily bump.
...
From-SVN: r71257
2003-09-10 00:16:07 +00:00
GCC Administrator
c05e3efaa4
Daily bump.
...
From-SVN: r71219
2003-09-09 00:16:08 +00:00
GCC Administrator
c5ed395d44
Daily bump.
...
From-SVN: r71191
2003-09-08 00:16:06 +00:00
GCC Administrator
0b22120b62
Daily bump.
...
From-SVN: r71151
2003-09-07 00:16:07 +00:00
GCC Administrator
5c30494db4
Daily bump.
...
From-SVN: r71124
2003-09-06 00:16:08 +00:00
Petur Runolfsson
f1813b6972
re PR libstdc++/9028 (codecvt<wchar_t, char, mbstate_t> doesn't work on Red Hat Linux 8.0.)
...
2003-09-04 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9028
* include/bits/fstream.tcc
(basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
(basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
_M_ext_buf_size, _M_ext_next and _M_ext_end.
(basic_filebuf::underflow): Handle variable-width stateless
encodings (codecvt::encoding() == 0), including UTF-8.
* include/std/std_fstream.h (basic_filebuf):
Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
* testsuite/27_io/objects/wchar_t/12.cc: New test.
* testsuite/27_io/objects/wchar_t/13.cc: New test.
From-SVN: r71111
2003-09-05 12:55:33 +00:00
GCC Administrator
a1d5dca45c
Daily bump.
...
From-SVN: r71097
2003-09-05 00:16:08 +00:00
GCC Administrator
2a3ef884df
Daily bump.
...
From-SVN: r71044
2003-09-04 00:16:06 +00:00
GCC Administrator
de38635b45
Daily bump.
...
From-SVN: r71015
2003-09-03 00:16:06 +00:00
GCC Administrator
a8c7ac9cd6
Daily bump.
...
From-SVN: r70987
2003-09-02 00:16:07 +00:00
GCC Administrator
754c707721
Daily bump.
...
From-SVN: r70970
2003-09-01 00:16:08 +00:00
GCC Administrator
ec9b6ebadd
Daily bump.
...
From-SVN: r70955
2003-08-31 00:16:06 +00:00
GCC Administrator
c2096ef8a3
Daily bump.
...
From-SVN: r70939
2003-08-30 00:16:08 +00:00
Nathan Myers
a3aff86a54
re PR libstdc++/11990 ("operand of conditional has no effect" warnings in libstdc++)
...
2003-08-29 Nathan Myers <ncm@cantrip.org>
PR libstdc++/11990
* include/bits/locale_facets.tcc (__pad): delete dead code.
From-SVN: r70915
2003-08-29 17:40:12 +00:00
GCC Administrator
7ae963b47c
Daily bump.
...
From-SVN: r70895
2003-08-29 00:16:08 +00:00
GCC Administrator
a66e04e38c
Daily bump.
...
From-SVN: r70872
2003-08-28 00:16:06 +00:00
GCC Administrator
48ab3fe3c9
Daily bump.
...
From-SVN: r70832
2003-08-27 00:16:06 +00:00
GCC Administrator
6cd28c3182
Daily bump.
...
From-SVN: r70794
2003-08-26 00:16:07 +00:00
GCC Administrator
c681386d04
Daily bump.
...
From-SVN: r70766
2003-08-25 00:16:07 +00:00
GCC Administrator
8946616503
Daily bump.
...
From-SVN: r70756
2003-08-24 00:16:06 +00:00
GCC Administrator
27a9da797e
Daily bump.
...
From-SVN: r70712
2003-08-23 00:16:07 +00:00
GCC Administrator
896a9055f1
Daily bump.
...
From-SVN: r70671
2003-08-22 00:16:07 +00:00
GCC Administrator
03d4ad277b
Daily bump.
...
From-SVN: r70628
2003-08-21 00:16:06 +00:00
GCC Administrator
ea1ce0d163
Daily bump.
...
From-SVN: r70585
2003-08-20 00:16:07 +00:00
GCC Administrator
ba45771e5d
Daily bump.
...
From-SVN: r70550
2003-08-19 00:16:09 +00:00
GCC Administrator
aba1f3707b
Daily bump.
...
From-SVN: r70529
2003-08-18 00:16:06 +00:00
GCC Administrator
d234f34116
Daily bump.
...
From-SVN: r70512
2003-08-17 00:16:06 +00:00
GCC Administrator
5ab7486eee
Daily bump.
...
From-SVN: r70498
2003-08-16 00:16:07 +00:00
GCC Administrator
34945b31d9
Daily bump.
...
From-SVN: r70459
2003-08-15 00:16:08 +00:00
GCC Administrator
3def5fb4fd
Daily bump.
...
From-SVN: r70424
2003-08-14 00:16:07 +00:00
GCC Administrator
08ef9f85db
Daily bump.
...
From-SVN: r70397
2003-08-13 00:16:07 +00:00
Benjamin Kosnik
2803847d40
basic_ios.h: Remove *_iter typedefs, change num* typedefs to num_*.
...
2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_ios.h: Remove *_iter typedefs, change num*
typedefs to num_*.
* include/bits/basic_ios.tcc: Same.
* include/bits/istream.tcc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/ostream.tcc: Same.
* include/std/std_istream.h: Same.
* include/std/std_ostream.h: Same.
* testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
* include/ext/rope: Remove build warning.
From-SVN: r70357
2003-08-12 03:46:18 +00:00
GCC Administrator
ee0a0f7be1
Daily bump.
...
From-SVN: r70343
2003-08-12 00:16:07 +00:00
GCC Administrator
9b2444a5f3
Daily bump.
...
From-SVN: r70311
2003-08-11 00:16:07 +00:00
GCC Administrator
62515d696d
Daily bump.
...
From-SVN: r70281
2003-08-10 00:16:06 +00:00
GCC Administrator
9bea6f9863
Daily bump.
...
From-SVN: r70265
2003-08-09 00:16:09 +00:00
GCC Administrator
4e3916bad1
Daily bump.
...
From-SVN: r70237
2003-08-08 00:16:06 +00:00
Doug Gregor
5a9ed69383
*** empty log message ***
...
From-SVN: r70235
2003-08-07 23:01:26 +00:00
Carlo Wood
a9ebaa2b6d
demangle.h: Do not use cctype functions that depend on locale.
...
2003-08-07 Carlo Wood <carlo@alinoe.com>
* include/bits/demangle.h: Do not use cctype functions that depend
on locale.
From-SVN: r70228
2003-08-07 19:54:06 +00:00
GCC Administrator
2f62bfe46c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r70214.2
2003-08-07 00:16:40 +00:00
GCC Administrator
375b855b13
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r70197.2
2003-08-06 00:16:11 +00:00
GCC Administrator
8e9bb3cb01
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r70162.2
2003-08-05 00:16:40 +00:00
GCC Administrator
be2af327f6
Daily bump.
...
From-SVN: r70131
2003-08-04 00:16:07 +00:00
GCC Administrator
094838e2c7
Daily bump.
...
From-SVN: r70110
2003-08-03 00:16:07 +00:00
GCC Administrator
5292fe6134
Daily bump.
...
From-SVN: r70089
2003-08-02 00:16:06 +00:00
GCC Administrator
e3da5a9a50
Daily bump.
...
From-SVN: r70028
2003-08-01 00:16:06 +00:00
GCC Administrator
a57ee9cd5b
Daily bump.
...
From-SVN: r69981
2003-07-31 00:16:08 +00:00
Phil Edwards
1051c718b1
c++config: Partial reversion (comment placement) of previous patch.
...
2003-07-30 Phil Edwards <pme@gcc.gnu.org>
* include/bits/c++config: Partial reversion (comment placement) of
previous patch.
From-SVN: r69963
2003-07-30 17:21:05 +00:00
Benjamin Kosnik
5f697f7aae
c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
...
2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
(_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
(_GLIBCXX_AT_AT): Remove.
(__USE_MALLOC): Remove.
* include/std/std_fstream.h: Modify.
* include/bits/basic_ios.h: Same.
* include/bits/valarray_array.h: Same.
* include/c_std/std_cmath.h: Same.
* include/c_std/cmath.tcc: Same.
* include/std/std_vector.h: Same.
* include/std/std_string.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/std/std_streambuf.h: Same.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/bits/valarray_array.tcc: Same, format.
* include/c/std_cctype.h: Fix include guards.
* include/c/std_cerrno.h: Same.
* include/c/std_cfloat.h: Same.
* include/c/std_climits.h: Same.
* include/c/std_clocale.h: Same.
* include/c/std_cmath.h: Same.
* include/c/std_csetjmp.h: Same.
* include/c/std_csignal.h: Same.
* include/c/std_cstdarg.h: Same.
* include/c/std_cstddef.h: Same.
* include/c/std_cstdio.h: Same.
* include/c/std_cstdlib.h: Same.
* include/c/std_cstring.h: Same.
* include/c/std_ctime.h: Same.
* include/c/std_cwchar.h: Same.
* include/c/std_cwctype.h: Same.
* include/c_std/cmath.tcc: Same.
* include/c_std/std_cmath.h: Same.
From-SVN: r69961
2003-07-30 16:51:51 +00:00
Gawain Bolton
b4c70e89da
re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)
...
2003-07-30 Gawain Bolton <gp.bolton@computer.org>
PR libstdc++/11504.
* include/bits/stl_tree.h: Replace C-style casts with C++-style
casts. Changes to avoid casting away constness. Eliminate
_Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
initialization lists. Move out implementation of __black_count()
to...
* src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
Rename_Rb_tree_base_iterator::_M_increment() to
_Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
_Rb_tree_decrement.
* config/linker-map.gnu: Add and change symbols here.
From-SVN: r69958
2003-07-30 15:01:58 +00:00
GCC Administrator
1598b5dcd4
Daily bump.
...
From-SVN: r69947
2003-07-30 00:16:06 +00:00
GCC Administrator
92a6fb2cf2
Daily bump.
...
From-SVN: r69907
2003-07-29 00:16:36 +00:00
GCC Administrator
a9f31c7e72
Daily bump.
...
From-SVN: r69868
2003-07-28 00:16:06 +00:00
GCC Administrator
404edd110e
Daily bump.
...
From-SVN: r69840
2003-07-27 00:16:07 +00:00
GCC Administrator
037af9d77b
Daily bump.
...
From-SVN: r69805
2003-07-26 00:16:07 +00:00
Benjamin Kosnik
b66ea7d48d
char_traits.h: Update copyright, tweak.
...
2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/char_traits.h: Update copyright, tweak.
* testsuite/ext/pod_char_traits.cc: Explicitly qualifiy namespace
std types.
From-SVN: r69791
2003-07-25 16:35:39 +00:00
Matt Austern
d5ff4e3f11
char_traits.h (class char_traits): Put all the real work into the new class template __gnu_cxx::char_traits.
...
* /include/bits/char_traits.h (class char_traits): Put all the
real work into the new class template __gnu_cxx::char_traits.
Gave generic definitions for member functions. Types are taken
from the new class template __gnu_cxx::_Char_types.
* testsuite/21_strings/char_traits/requirements/short/1.cc: New
file. Test of std::char_traits<short>, which serves as a test of
the char_traits primary template.
From-SVN: r69772
2003-07-25 05:32:23 +00:00
GCC Administrator
c60ab83164
Daily bump.
...
From-SVN: r69766
2003-07-25 00:16:07 +00:00
GCC Administrator
9d2a10573b
Daily bump.
...
From-SVN: r69732
2003-07-24 00:16:07 +00:00
GCC Administrator
78ace45e99
Daily bump.
...
From-SVN: r69693
2003-07-23 00:16:06 +00:00
Doug Gregor
3988d17951
basic_string.h (basic_string::insert): Deprecate GNU extension.
...
* include/bits/basic_string.h (basic_string::insert): Deprecate
GNU extension.
From-SVN: r69677
2003-07-22 17:57:50 +00:00
GCC Administrator
32d0e51b54
Daily bump.
...
From-SVN: r69656
2003-07-22 00:16:08 +00:00
Doug Gregor
f345c6b522
* include/bits/boost_concept_check.h:
...
(_EqualityComparableConcept::__constraints): Remove != from the
list of constraints; it is not listed in Table 28 of the C++98
standard.
From-SVN: r69636
2003-07-21 17:12:09 +00:00
GCC Administrator
0292e50e95
Daily bump.
...
From-SVN: r69618
2003-07-21 00:16:07 +00:00
GCC Administrator
cee89b1964
Daily bump.
...
From-SVN: r69599
2003-07-20 00:16:07 +00:00
GCC Administrator
3b1eae7b3b
Daily bump.
...
From-SVN: r69575
2003-07-19 00:16:07 +00:00
Benjamin Kosnik
fea4065dda
linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
...
2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
* config/locale/generic/messages_members.h: Tweaks.
* config/locale/generic/monetary_members.cc
(moneypunct::_M_initialize_moneypunct): Use cache.
(moneypunct::~moneypunct): Delete cache.
* config/locale/generic/time_members.cc:
(__timepunct::_M_initialize_timepunct): Use cache.
* config/locale/generic/time_members.h:
(__timepunct::~__timepunct): Delete cache.
(__timepunct::__timepunct): Set cache.
* config/locale/gnu/messages_members.h: Tweaks.
* config/locale/gnu/monetary_members.cc:
(moneypunct::_M_initialize_moneypunct): Use cache.
(moneypunct::~moneypunct): Delete cache.
* config/locale/gnu/time_members.cc:
(__timepunct::_M_initialize_timepunct): Use cache.
* config/locale/gnu/time_members.h:
(__timepunct::~__timepunct): Delete cache.
(__timepunct::__timepunct): Set cache.
* include/bits/locale_facets.h (__timepunct_cache): New.
(__moneypunct_cache): New.
* include/bits/locale_facets.tcc: Tweak.
* src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
* src/locale-inst.cc: Instantiate caches.
* src/globals.cc: Add "C" caches.
* src/localename.cc: Use external "C" caches.
From-SVN: r69535
2003-07-18 02:27:16 +00:00