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
GCC Administrator
35c77862c9
Daily bump.
...
From-SVN: r69531
2003-07-18 00:16:08 +00:00
Benjamin Kosnik
7942afdca2
locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
...
2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
(num_get::_M_convert_int): To _M_insert_int.
(num_get::_M_convert_float): To _M_insert_float.
* include/bits/locale_facets.tcc (num_get::_M_extract_float):
Use caches for ctype, num_get.
(num_get::_M_extract_int): Same.
(num_get::get(bool)): Same.
(__verify_grouping): Use size_t.
* src/locale-inst.cc: Update.
* src/locale.cc: Adjust _S_atoms_in.
From-SVN: r69491
2003-07-17 01:54:44 +00:00
GCC Administrator
1129e7f414
Daily bump.
...
From-SVN: r69487
2003-07-17 00:16:06 +00:00
Paolo Carlini
e50344b919
re PR libstdc++/11528 (money_get does not get "$.00")
...
2003-07-16 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11528
* include/bits/locale_facets.tcc (money_get::do_get):
Strip only _leading_ zeros.
* testsuite/22_locale/money_get/get/char/11528.cc: Add.
* testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
From-SVN: r69458
2003-07-16 16:12:47 +00:00
GCC Administrator
e27668301c
Daily bump.
...
From-SVN: r69429
2003-07-16 00:16:08 +00:00
Petur Runolfsson
73a530bdcc
char_traits.h (char_traits<wchar_t>::move): Change last parameter from int_type to size_t.
...
2003-07-15 Petur Runolfsson <peturr02@ru.is>
* include/bits/char_traits.h (char_traits<wchar_t>::move):
Change last parameter from int_type to size_t.
From-SVN: r69415
2003-07-15 17:30:10 +00:00
Jerry Quinn
119dbb1fce
stl_algo.h (includes, [...]): Document.
...
2003-07-15 Jerry Quinn <jlquinn@optonline.net>
* include/bits/stl_algo.h (includes, set_union, set_intersection,
set_difference, set_symmetric_difference, max_element, min_element,
next_permutation, prev_permutation, find_first_of, find_end):
Document.
* include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
restrictions in docs.
* include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
Document.
* docs/doxygen/doxygroups.cc (setoperations): New group.
From-SVN: r69387
2003-07-15 07:30:29 +00:00
Jerry Quinn
284f19bf17
basic_string.h: Document public functions.
...
2003-07-15 Jerry Quinn <jlquinn@optonline.net>
* include/bits/basic_string.h: Document public functions.
* docs/doxygen/TODO: Update c21 todo.
From-SVN: r69386
2003-07-15 07:02:40 +00:00
Jerry Quinn
709e7c9f87
stl_list.h: Document more functions.
...
2003-07-15 Jerry Quinn <jlquinn@optonline.net>
* include/bits/stl_list.h: Document more functions.
* docs/doxygen/TODO: Update c23 todo.
From-SVN: r69385
2003-07-15 06:15:57 +00:00
GCC Administrator
b9ce931dbe
Daily bump.
...
From-SVN: r69368
2003-07-15 00:16:07 +00:00
Paolo Carlini
f088510d96
stl_tempbuf.h: Qualify free with std::.
...
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_tempbuf.h: Qualify free with std::.
* src/locale.cc: Include <cstdlib>, qualify getenv.
From-SVN: r69347
2003-07-14 20:14:49 +00:00
Paolo Carlini
bda243ec50
Nathan C.
...
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
Nathan C. Myers <ncm-nospam@cantrip.org>
PR libstdc++/11378
* include/std/std_fstream.h (xsputn): Declare only.
* include/bits/fstream.tcc (xsputn): Define, optimize for the
always_noconv() case: when __n is sufficiently large flush
the buffer and issue a direct write, if possible combining the
two with writev in __basic_file<>::xsputn_2.
* config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
New, declare.
* config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
Define.
* acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
the availability of writev in <sys/uio.h>.
* configure.in: Call here.
* acconfig.h: Add undef for the corresponding symbol.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
* include/std/std_fstream.h (sync): Constify a variable.
Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>
From-SVN: r69341
2003-07-14 18:23:12 +00:00
Mark Mitchell
f2ffecb112
c_locale.h: Include <cstdlib> and <cstring>.
...
* config/locale/generic/c_locale.h: Include <cstdlib> and
<cstring>.
* include/bits/boost_concept_check.h: Add this-> to unqualified
method calls.
* include/bits/deque.tcc: Likewise.
* include/bits/locale_facets.h : Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/rope: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/stdio_filebuf.h: Likewise.
From-SVN: r69315
2003-07-14 02:52:05 +00:00
GCC Administrator
dcad9c8559
Daily bump.
...
From-SVN: r69311
2003-07-14 00:16:09 +00:00
GCC Administrator
4284a08d87
Daily bump.
...
From-SVN: r69281
2003-07-13 00:16:06 +00:00
GCC Administrator
76d558c0bd
Daily bump.
...
From-SVN: r69259
2003-07-12 00:16:07 +00:00
Jerry Quinn
e2fcbaa3e4
basic_ios.h (copyfmt): Document.
...
2003-07-11 Jerry Quinn <jlquinn@optonline.net>
* include/bits/basic_ios.h (copyfmt): Document.
* include/bits/ios_base.h (event, event_callback, register_callback,
xalloc, iword, pword): Document.
(imbue, ~ios_base): Update docs on callbacks.
From-SVN: r69235
2003-07-11 14:25:09 +00:00
GCC Administrator
bd7d241486
Daily bump.
...
From-SVN: r69207
2003-07-11 00:16:07 +00:00
Benjamin Kosnik
cde6384093
locale_facets.tcc: Use function object for __use_cache instead of template function.
...
2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Use function object for
__use_cache instead of template function. Partially specialize for
__numpunct<_CharT>.
* include/bits/locale_classes.h: Update friend declaration for
__use_cache.
(_M_install_cache): No throw exception specs.
* src/locale.cc: Remove __use_cache specializations.
* include/ext/pod_char_traits.h (length): Tweak.
* include/bits/locale_facets.h (__numpunct_cache): Remove
char_type typedef.
* testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
(pod_long): Remove.
* testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
* testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
* testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
* testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
* testsuite/22_locale/numpunct/members/pod/1.cc: New.
* testsuite/22_locale/numpunct/members/pod/2.cc: New.
From-SVN: r69177
2003-07-10 06:21:13 +00:00
GCC Administrator
a1188b984f
Daily bump.
...
From-SVN: r69163
2003-07-10 00:16:06 +00:00
Gawain Bolton
ca1c70118c
stl_tree.h: Move larger member functions in _Rb_tree_base_iterator and _Rb_tree_node to...
...
2003-07-09 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_tree.h: Move larger member functions in
_Rb_tree_base_iterator and _Rb_tree_node to...
* src/stl_tree.cc: Here.
* src/Makefile.in: Add stl_tree.cc.
* src/Makefile.in: Regenerated.
* config/linker-map.gnu: Add symbols here.
From-SVN: r69150
2003-07-09 20:58:32 +00:00
Benjamin Kosnik
9e7facfd47
pod_char_traits.cc: New.
...
2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/pod_char_traits.cc: New.
* include/ext/pod_char_traits.h: New.
* include/Makefile.am (ext_headers): Add pod_char_traits.h.
* include/Makefile.in: Regenerate.
* docs/html/21_strings/howto.html: Update.
From-SVN: r69115
2003-07-09 00:40:29 +00:00
GCC Administrator
518ed319bd
Daily bump.
...
From-SVN: r69109
2003-07-09 00:16:05 +00:00
Benjamin Kosnik
c094e9b948
numeric_members.cc: Correct type info.
...
2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/generic/numeric_members.cc: Correct type info.
* config/locale/gnu/numeric_members.cc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/char_traits.h: Correct spacing.
* src/locale.cc: Wrap to 80 col.
From-SVN: r69098
2003-07-08 20:25:39 +00:00
GCC Administrator
37bf2a13c5
Daily bump.
...
From-SVN: r69058
2003-07-08 00:16:06 +00:00
GCC Administrator
9ca9944176
Daily bump.
...
From-SVN: r69025
2003-07-07 00:16:06 +00:00
Paolo Carlini
391cfc4689
locale_classes.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup.
...
2003-07-06 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_classes.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/locale_facets.tcc: Likewise.
* src/locale.cc: Likewise.
* src/localename.cc: Likewise.
From-SVN: r68997
2003-07-06 09:37:11 +00:00
Phil Edwards
481668695a
allocator_traits.h: Fix doxygen markup.
...
2003-07-06 Phil Edwards <pme@gcc.gnu.org>
* include/bits/allocator_traits.h: Fix doxygen markup.
* include/ext/mt_allocator.h: Likewise.
From-SVN: r68994
2003-07-06 04:37:22 +00:00
Gawain Bolton
e3d51be281
stl_list.h: Performance and memory usage improvements.
...
2003-07-05 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_list.h: Performance and memory usage
improvements.
* include/bits/list.tcc: Likewise.
From-SVN: r68987
2003-07-06 00:58:52 +00:00
GCC Administrator
a045c79405
Daily bump.
...
From-SVN: r68985
2003-07-06 00:16:06 +00:00
Gawain Bolton
f92c5313e1
stl_tree.h: _Rb_tree_rebalance(): Add local variable for grandparent and use const
...
2003-07-05 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
variable for grandparent and use const
From-SVN: r68977
2003-07-05 15:47:09 +00:00
Benjamin Kosnik
3d7c150e3f
Move from CPP to CXX.
...
2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
Move from CPP to CXX.
* include/bits/c++config: Move to GLIBCXX from GLIBCPP.
* testsuite/Makefile.am: Same.
* testsuite/Makefile.in: Regenerate.
* po/Makefile.am: Same.
* po/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Same.
* libsupc++/Makefile.in: Regenerate.
* libmath/Makefile.am: Same.
* libmath/Makefile.in: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* acconfig.h: Same.
* configure.host: Same.
* configure.in: Same.
* configure: Regenerate.
* acinclude.m4: Same.
* aclocal.m4: Same.
* src: Change all files in this directory.
* testsuite: Same.
* include: Same, standardize include guards.
* config: Same.
* libsupc++: Same.
From-SVN: r68958
2003-07-05 04:05:45 +00:00
GCC Administrator
802491c002
Daily bump.
...
From-SVN: r68949
2003-07-05 00:16:06 +00:00