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
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