GCC Administrator
db8a1d4a56
Daily bump.
...
From-SVN: r59990
2002-12-10 08:17:19 +00:00
Gabriel Dos Reis
eee9d6bb44
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
...
From-SVN: r59983
2002-12-10 07:32:04 +00:00
GCC Administrator
e46af8eda8
Daily bump.
...
From-SVN: r59961
2002-12-09 08:17:22 +00:00
GCC Administrator
e598cc3141
Daily bump.
...
From-SVN: r59935
2002-12-08 08:17:08 +00:00
GCC Administrator
f71d0a9529
Daily bump.
...
From-SVN: r59910
2002-12-07 08:17:27 +00:00
GCC Administrator
cdb8f3ebe7
Daily bump.
...
From-SVN: r59887
2002-12-06 08:17:26 +00:00
GCC Administrator
9148659d58
Daily bump.
...
From-SVN: r59854
2002-12-05 08:17:18 +00:00
GCC Administrator
33602aec45
Daily bump.
...
From-SVN: r59807
2002-12-04 08:17:32 +00:00
GCC Administrator
67f05dcb2c
Daily bump.
...
From-SVN: r59766
2002-12-03 08:17:12 +00:00
Paolo Carlini
61b8da3733
basic_string.h (compare(const basic_string&)): Fully qualify min() with std::.
...
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.h (compare(const basic_string&)):
Fully qualify min() with std::.
From-SVN: r59745
2002-12-02 22:15:54 +00:00
Paolo Carlini
aa863dca8b
basic_string.tcc (basic_string::append(const basic_string&, size_type, size_type), [...]): Fully qualify min() with std::.
...
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::append(const basic_string&, size_type,
size_type), basic_string::compare(size_type, size_type,
const basic_string&), basic_string::compare(size_type,
size_type, const basic_string&, size_type, size_type),
basic_string::compare(const _CharT*), basic_string::
compare(size_type, size_type, const _CharT*),
basic_string::compare(size_type, size_type, const _CharT*,
size_type), _S_string_copy(const basic_string&, _CharT*,
typename _Alloc::size_type)): Fully qualify min() with std::.
2002-12-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc
(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Delay the declaration of __dnew,
fully qualify distance() with std::.
(basic_string::_M_replace_safe): Fully qualify distance()
with std::.
From-SVN: r59726
2002-12-02 18:53:41 +00:00
GCC Administrator
54806c1855
Daily bump.
...
From-SVN: r59712
2002-12-02 08:17:22 +00:00
GCC Administrator
a46ad9b0fb
Daily bump.
...
From-SVN: r59679
2002-12-01 08:17:11 +00:00
GCC Administrator
acb45e09fe
Daily bump.
...
From-SVN: r59657
2002-11-30 08:17:11 +00:00
GCC Administrator
45596747ca
Daily bump.
...
From-SVN: r59631
2002-11-29 08:17:51 +00:00
GCC Administrator
bcfb713a6f
Daily bump.
...
From-SVN: r59603
2002-11-28 08:17:17 +00:00
GCC Administrator
a916a6c019
Daily bump.
...
From-SVN: r59567
2002-11-27 08:18:24 +00:00
GCC Administrator
db4d71292f
Daily bump.
...
From-SVN: r59505
2002-11-26 08:19:05 +00:00
GCC Administrator
7580b910da
Daily bump.
...
From-SVN: r59454
2002-11-25 08:17:14 +00:00
GCC Administrator
02ccd3c984
Daily bump.
...
From-SVN: r59428
2002-11-24 08:17:47 +00:00
GCC Administrator
0176b49232
Daily bump.
...
From-SVN: r59408
2002-11-23 08:17:09 +00:00
Laszlo Ersek
726a4d6d5e
re PR libstdc++/8645 (unnecessary non-0 checks in stl_tree.h)
...
2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8645
* include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
Don't check that __w->_M_left != 0 and __w->_M_right != 0
when they can't be otherwise.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r59381
2002-11-22 18:53:53 +00:00
GCC Administrator
fac3e63d64
Daily bump.
...
From-SVN: r59373
2002-11-22 08:17:23 +00:00
GCC Administrator
3c6843e78a
Daily bump.
...
From-SVN: r59336
2002-11-21 08:17:21 +00:00
Phil Edwards
a8a4259d5c
streambuf.tcc (basic_streambuf::sputbackc): Prefix "this->" to call to pbackfail.
...
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
"this->" to call to pbackfail.
From-SVN: r59327
2002-11-21 07:27:51 +00:00
Phil Edwards
840ceb345b
TODO: Note change in clause 27 docs.
...
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/TODO: Note change in clause 27 docs.
* include/bits/basic_ios.h, include/bits/fpos.h,
include/bits/ios_base.h, include/bits/stl_deque.h,
include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
include/std/std_iomanip.h, include/std/std_iosfwd.h,
include/std/std_iostream.h, include/std/std_istream.h,
include/std/std_ostream.h, include/std/std_sstream.h,
include/std/std_streambuf.h: Doxygenate all I/O entities.
From-SVN: r59325
2002-11-21 07:06:41 +00:00
Benjamin Kosnik
5e85fa9997
streambuf.tcc (__copy_streambufs): Revert previous fix for the interactive half of libstdc++/6745...
...
2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
Jonathan Lennox <lennox@cs.columbia.edu>
* include/bits/streambuf.tcc (__copy_streambufs):
Revert previous fix for the interactive half of
libstdc++/6745, use _M_buf_size_opt to set dynamically
the correct buffer size.
Co-Authored-By: Jonathan Lennox <lennox@cs.columbia.edu>
From-SVN: r59314
2002-11-20 21:22:48 +00:00
GCC Administrator
13b42735b6
Daily bump.
...
From-SVN: r59294
2002-11-20 08:17:15 +00:00
GCC Administrator
b9423ac22f
Daily bump.
...
From-SVN: r59255
2002-11-19 08:18:06 +00:00
Jonathan Lennox
5bdb1440a1
streambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < __sbin->egptr() before using.
...
2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
* include/bits/streambuf.tcc (__copy_streambufs): verify
__sbin->gptr() + __bufsize < __sbin->egptr() before using.
* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
(test05): Use test_buffer_4. Delete unused ostringstream
variables.
From-SVN: r59234
2002-11-18 22:42:35 +00:00
Paolo Carlini
d9d71657bd
PR libstdc++/6745 (continued)
...
2002-11-18 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6745 (continued)
* include/bits/streambuf.tcc (__copy_streambufs):
Deal with interactive input by using isatty as in the
fix for libstdc++/8399.
From-SVN: r59229
2002-11-18 20:03:52 +00:00
GCC Administrator
d1afe2caee
Daily bump.
...
From-SVN: r59210
2002-11-18 08:19:10 +00:00
GCC Administrator
7b8dbd5041
Daily bump.
...
From-SVN: r59191
2002-11-17 08:18:17 +00:00
Benjamin Kosnik
af5fb6ab3b
re PR libstdc++/8230 (Buggy allocator behaviour)
...
2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
Gabriel Dos Reis <gdr@integrable-solutions.net>
PR libstdc++/8230
* include/bits/stl_alloc.h: Use builtin_expect for the most
obvious limit checks.
(__default_alloc_template::allocate): Check for null, throw
bad_alloc.
* include/bits/vector.tcc: Formatting tweaks.
* include/bits/stl_vector.h: Same.
* testsuite/20_util/allocator_members.cc (test02): Add.
* testsuite/23_containers/vector_capacity.cc (test03): Add.
Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r59169
2002-11-16 17:16:31 +00:00
GCC Administrator
952d707302
Daily bump.
...
From-SVN: r59157
2002-11-16 08:18:01 +00:00
GCC Administrator
21ea7df56f
Daily bump.
...
From-SVN: r59124
2002-11-15 08:17:15 +00:00
GCC Administrator
3dfce4e4fc
Daily bump.
...
From-SVN: r59103
2002-11-14 08:17:18 +00:00
Benjamin Kosnik
48d1c3c568
re PR libstdc++/8230 (Buggy allocator behaviour)
...
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8230
* include/bits/vector.tcc (vector::reserve): Throw length_error if
requested size is bigger than max_size().
* include/bits/stl_bvector.h (vector<bool>::reserve): Same.
* testsuite/23_containers/vector_capacity.cc (test02): Add.
From-SVN: r59090
2002-11-13 22:15:17 +00:00
GCC Administrator
7b53becc10
Daily bump.
...
From-SVN: r59071
2002-11-13 08:17:23 +00:00
GCC Administrator
91bc0940c0
Daily bump.
...
From-SVN: r59045
2002-11-12 08:17:27 +00:00
Benjamin Kosnik
6eeb7d7ae0
re PR libstdc++/6746 (ifstream::readsome() always returns zero)
...
2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6746
* include/bits/fstream.tcc (filebuf::open): Set input pointers.
* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
__p_mode as well.
(__basic_file::open): Set to non-block for input.
* testsuite/27_io/istream_unformatted.cc (test12): Add.
(test13): Same.
From-SVN: r59030
2002-11-11 23:18:05 +00:00
GCC Administrator
aaea99dc5e
Daily bump.
...
From-SVN: r59019
2002-11-11 08:17:12 +00:00
GCC Administrator
d663b76d17
Daily bump.
...
From-SVN: r58977
2002-11-10 08:17:13 +00:00
GCC Administrator
8a9a176bf6
Daily bump.
...
From-SVN: r58949
2002-11-09 08:17:12 +00:00
GCC Administrator
1cc6f9f420
Daily bump.
...
From-SVN: r58919
2002-11-08 08:17:17 +00:00
GCC Administrator
d7899d8a40
Daily bump.
...
From-SVN: r58884
2002-11-07 08:17:13 +00:00
GCC Administrator
ca01c43fca
Daily bump.
...
From-SVN: r58856
2002-11-06 08:17:10 +00:00
Benjamin Kosnik
112615e7d3
re PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream state to ios_base::eofbit)
...
2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8258
* include/bits/istream.tcc (istream::readsome): Don't set eofbit
for null buffer.
(istream::operator>>(_CharT*)): Use traits_type.
(istream::ws): Same.
(istream::operator>>(string)): Same.
* testsuite/27_io/istream_unformatted.cc (test11): Add.
From-SVN: r58840
2002-11-05 23:46:22 +00:00
Benjamin Kosnik
cb9305420a
re PR libstdc++/8463 (std::ios_base has a non-virtual destructor)
...
2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8463
* include/bits/ios_base.h (~ios_base): Make virtual.
From-SVN: r58823
2002-11-05 16:49:42 +00:00
GCC Administrator
f859a1cd55
Daily bump.
...
From-SVN: r58818
2002-11-05 08:17:10 +00:00
GCC Administrator
30566d5889
Daily bump.
...
From-SVN: r58792
2002-11-04 08:17:09 +00:00
GCC Administrator
c33c471beb
Daily bump.
...
From-SVN: r58771
2002-11-03 08:17:09 +00:00
GCC Administrator
ed6c7a042d
Daily bump.
...
From-SVN: r58745
2002-11-02 08:17:09 +00:00
Benjamin Kosnik
5112ae3a8f
re PR libstdc++/8318 (Not all wide character based prototypes are included within #ifdef _GLIBCPP_USE_WCHAR_T)
...
2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8318
* include/std/std_iostream.h: Tweak.
* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
* include/std/std_iomanip.h: Same.
* include/bits/stringfwd.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/locale_facets.tcc: Same.
From-SVN: r58720
2002-11-01 17:30:36 +00:00
John Carter
c86c54e6d1
re PR libstdc++/7961 (compare( char *) implemented incorrectly.)
...
2002-11-01 John Carter <john.carter@tait.co.nz>
PR libstdc++/7961
* include/bits/basic_string.tcc
(compare(const _CharT* __s)): Don't access __s past its length.
From-SVN: r58717
2002-11-01 15:21:17 +00:00
GCC Administrator
cfcfd176a1
Daily bump.
...
From-SVN: r58711
2002-11-01 08:17:07 +00:00
Benjamin Kosnik
04c7481ed2
re PR libstdc++/8348 (fail() flag is set in istringstream when eof() flag is set !)
...
2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8348
* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
(istream::seekg): Same.
* testsuite/27_io/istream_seeks.cc (test06): New.
From-SVN: r58703
2002-11-01 05:38:27 +00:00
GCC Administrator
0d55d45aa5
Daily bump.
...
From-SVN: r58673
2002-10-31 08:17:11 +00:00
GCC Administrator
964dad84b4
Daily bump.
...
From-SVN: r58652
2002-10-30 08:17:49 +00:00
GCC Administrator
216cd92c02
Daily bump.
...
From-SVN: r58619
2002-10-29 08:17:23 +00:00
GCC Administrator
e3c2b64701
Daily bump.
...
From-SVN: r58594
2002-10-28 08:17:15 +00:00
Paolo Carlini
085825b83b
re PR libstdc++/8347 (empty vector range used in string construction causes core dump.)
...
2002-10-27 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8347
* include/bits/basic_string.tcc
(string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Do not throw logic error if
__beg == NULL && __end == __beg.
(string::string(const _CharT*, const _Alloc&)): Tweak.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
From-SVN: r58577
2002-10-27 07:35:06 +00:00
GCC Administrator
881fc35459
Daily bump.
...
From-SVN: r58576
2002-10-27 07:17:14 +00:00
GCC Administrator
86dc768102
Daily bump.
...
From-SVN: r58561
2002-10-26 07:17:23 +00:00
GCC Administrator
0bfd1ad0f8
Daily bump.
...
From-SVN: r58527
2002-10-25 07:18:27 +00:00
GCC Administrator
dc871fd328
Daily bump.
...
From-SVN: r58486
2002-10-24 07:17:50 +00:00
GCC Administrator
bbf1bc184c
Daily bump.
...
From-SVN: r58441
2002-10-23 07:17:11 +00:00
GCC Administrator
f87229e947
Daily bump.
...
From-SVN: r58403
2002-10-22 07:17:19 +00:00
GCC Administrator
81697db9ef
Daily bump.
...
From-SVN: r58354
2002-10-21 07:17:55 +00:00
GCC Administrator
c654ee28cf
Daily bump.
...
From-SVN: r58330
2002-10-20 07:17:12 +00:00
GCC Administrator
bf3d8f27d5
Daily bump.
...
From-SVN: r58305
2002-10-19 07:17:13 +00:00
Loren J. Rittle
0b564d905f
howto.html (GLIBCPP_FORCE_NEW): Document new environment variable which replaces all uses of __USE_MALLOC macro.
...
* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
new environment variable which replaces all uses of __USE_MALLOC
macro.
* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
(__mem_interface): Remove all references to old internal typedef.
* include/backward/alloc.h (__USE_MALLOC): Remove it and all
guarded code.
* include/bits/c++config (__USE_MALLOC): Update related error
message and comment.
* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
guarded code. Update all related comments.
(__mem_interface): Unconditionally replace it with __new_alloc.
However, leave the typedef around in case anyone used it.
(__default_alloc_template<>::_S_force_new): New class static.
(__default_alloc_template<>::allocate, deallocate): Add
run-time controlled feature similar to what __USE_MALLOC code
path had provided.
* src/stl-inst.cc (__USE_MALLOC): Remove it and all
guarded code.
* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
Add documentation on GLIBCPP_FORCE_NEW environment variable.
* testsuite/ext/allocators.cc: Likewise.
From-SVN: r58286
2002-10-18 20:52:57 +00:00
GCC Administrator
ab1a35938d
Daily bump.
...
From-SVN: r58276
2002-10-18 07:17:14 +00:00
GCC Administrator
15e0653ea2
Daily bump.
...
From-SVN: r58244
2002-10-17 07:17:10 +00:00
Benjamin Kosnik
2982f6ffc4
locale_facets.h (__timepunct::__timepunct): Allocate _M_name_timepunct.
...
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
_M_name_timepunct.
(__timepunct::~__timepunct): Deallocate, remove specialization
declarations.
(messages::messages): Allocate _M_name_messages.
(messages::~messages): Deallocate.
(messages_byname): Same.
* config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
Remove.
* config/locale/generic/time_members.cc (__timepunct::~__timepunct):
Remove.
* docs/html/install.html: Add es_MX, en_PH to required locales list.
From-SVN: r58232
2002-10-17 01:19:59 +00:00
GCC Administrator
daa65de74b
Daily bump.
...
From-SVN: r58194
2002-10-16 07:17:12 +00:00
GCC Administrator
0aab899b14
Daily bump.
...
From-SVN: r58155
2002-10-15 07:17:08 +00:00
GCC Administrator
4eb9ac3926
Daily bump.
...
From-SVN: r58115
2002-10-14 07:17:25 +00:00
GCC Administrator
4c603a11df
Daily bump.
...
From-SVN: r58098
2002-10-13 07:17:07 +00:00
Danny Smith
9cfa115575
stl_threads.h (_GLIBCPP_mutex, [...]): Declare in namespace __gnu_cxx.
...
* include/bits/stl_threads.h (_GLIBCPP_mutex,
_GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
_GLIBCPP_mutex_address_init, _GLIBCPP_once):
Declare in namespace __gnu_cxx.
(_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
names.
Adjust copyright.
From-SVN: r58092
2002-10-13 06:35:15 +00:00
GCC Administrator
bf01920f80
Daily bump.
...
From-SVN: r58086
2002-10-12 07:17:07 +00:00
Benjamin Kosnik
45c7cbd930
acconfig.h (_GLIBCPP_SYMVER): Add.
...
2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_SYMVER): Add.
(_GLIBCPP_ASM_SYMVER): Add.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
hack around m4 issues with quoting '@'.
* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
* src/globals.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
non-glibc systems.
From-SVN: r58065
2002-10-11 21:10:10 +00:00
GCC Administrator
d92b6b949d
Daily bump.
...
From-SVN: r58048
2002-10-11 07:17:12 +00:00
GCC Administrator
d05c919997
Daily bump.
...
From-SVN: r58009
2002-10-10 07:17:07 +00:00
GCC Administrator
6e0ac545dd
Daily bump.
...
From-SVN: r57976
2002-10-09 07:17:31 +00:00
Jonathan Lennox
3279e88a45
PR libstdc++/8071, libstdc++/8127, c++/6745
...
2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
PR libstdc++/8071, libstdc++/8127, c++/6745
* streambuf.tcc (__copy_streambufs): Handle cases where
__sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
* testsuite/27_io/ostream_inserter_other.cc (test05): Add.
From-SVN: r57970
2002-10-09 06:32:11 +00:00
Paolo Carlini
aa53f832ac
localefwd.h (class locale): Add static member _S_num_extra_categories...
...
2002-10-08 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/localefwd.h (class locale): Add static member
_S_num_extra_categories, encoding the number of additional
categories.
Change _S_num_categories to _S_categories_size.
(class locale::_Impl): Add _M_c_cats.
(class locale::_Impl::_M_names): Change to array of chars.
(class locale::_Impl::_M_check_same_name): Use
_S_extra_categories_size, tweak.
(locale::locale(const locale&, _Facet*)): Ditto.
* src/locale.cc (locale::locale(const char* )): Rewrite to deal
with the environment in a POSIX-compliant way while being thread
safe.
(locale::name()): Update to output POSIX environment strings.
* src/localename.cc
(locale::_Impl::_Impl(const _Impl&, size_t): Use
_S_categories_size_*, tweak.
(locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
(locale::_Impl::_Impl(const char*, size_t)): Name each category
individually.
(locale::_Impl::_M_replace_categories): Use strcpy.
* include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
Change default argument to NULL from _S_c_locale.
(timepunct::_M_initialize_timepunct): Same.
_S_c_locale cleanups.
* src/codecvt.c: _S_c_locale simplification.
* src/ctype.c: Same.
* src/globals.cc: Add fake_name.
* src/locale-inst.cc: Remove extra includes.
* src/locale.cc: Remove extra includes.
Add _S_extra_categories_size definition.
Correct "C" initialization.
(locale::facet::facet): Don't initialize _S_c_locale.
(locale::facet::_M_remove_reference): Adjust.
* src/localename: Use facet_vec, facet_name.
(locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
facet ref counts to one. Initialize _S_c_locale.
(locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
counts when installing unilaterally.
* config/locale/generic/c_locale.cc: Add _S_categories definition.
* config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
* config/locale/generic/time_members.cc: _S_c_locale cleanup.
* config/locale/gnu/c_locale.cc: Add _S_categories definition.
(_S_destroy_c_locale): Move checks against _S_c_locale here.
* config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
* config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
calls, _S_c_locale usage.
* config/locale/gnu/monetary_members.cc: Same, tweaks.
* config/locale/gnu/monetary_members.cc: Same.
* config/locale/gnu/time_members.cc: Same.
* config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
* docs/html/22_locale/locale.html: Add bits about global locales
and "C" setlocale.
* testsuite/22_locale/facet.cc (test02): Add.
* testsuite/22_locale/static_members.cc (test02): Add.
* testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r57964
2002-10-08 23:32:23 +00:00
GCC Administrator
39c9ceac7e
Daily bump.
...
From-SVN: r57918
2002-10-08 07:17:07 +00:00
GCC Administrator
fe736b6c2c
Daily bump.
...
From-SVN: r57881
2002-10-07 07:19:04 +00:00
GCC Administrator
23ee915993
Daily bump.
...
From-SVN: r57859
2002-10-06 07:17:10 +00:00
GCC Administrator
fec836256e
Daily bump.
...
From-SVN: r57840
2002-10-05 07:17:08 +00:00
GCC Administrator
311b75739b
Daily bump.
...
From-SVN: r57810
2002-10-04 07:17:11 +00:00
GCC Administrator
3eacc81d00
Daily bump.
...
From-SVN: r57771
2002-10-03 07:17:09 +00:00
GCC Administrator
7217543f1e
Daily bump.
...
From-SVN: r57736
2002-10-02 07:17:13 +00:00
GCC Administrator
fac3fa281d
Daily bump.
...
From-SVN: r57681
2002-10-01 07:17:08 +00:00
GCC Administrator
067bb3a79d
Daily bump.
...
From-SVN: r57643
2002-09-30 07:17:22 +00:00
GCC Administrator
1f3d773e3a
Daily bump.
...
From-SVN: r57622
2002-09-29 07:17:15 +00:00
GCC Administrator
fb3d26dc12
Daily bump.
...
From-SVN: r57608
2002-09-28 07:17:09 +00:00
Paolo Carlini
b1af5a30a5
locale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased (oct or hex) zero.
...
2002-09-27 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Deal correctly with grouped, showbased (oct or hex) zero.
* testsuite/22_locale/num_put_members_char.cc: Add test05.
* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
From-SVN: r57598
2002-09-27 23:08:22 +00:00
GCC Administrator
87b8359e65
Daily bump.
...
From-SVN: r57585
2002-09-27 07:18:01 +00:00
GCC Administrator
a84dfda426
Daily bump.
...
From-SVN: r57531
2002-09-26 07:17:13 +00:00
GCC Administrator
33c31b33b5
Daily bump.
...
From-SVN: r57493
2002-09-25 07:17:34 +00:00
GCC Administrator
b0da12fba8
Daily bump.
...
From-SVN: r57467
2002-09-24 07:17:21 +00:00
GCC Administrator
d4e81c8598
Daily bump.
...
From-SVN: r57431
2002-09-23 07:17:31 +00:00
GCC Administrator
4bc38b6864
Daily bump.
...
From-SVN: r57405
2002-09-22 07:17:18 +00:00
GCC Administrator
42cd531a93
Daily bump.
...
From-SVN: r57386
2002-09-21 07:17:10 +00:00
GCC Administrator
4244981283
Daily bump.
...
From-SVN: r57342
2002-09-20 07:17:13 +00:00
GCC Administrator
eee3e0fb0b
Daily bump.
...
From-SVN: r57301
2002-09-19 07:17:12 +00:00
GCC Administrator
60a0224c1e
Daily bump.
...
From-SVN: r57273
2002-09-18 07:17:15 +00:00
GCC Administrator
63fcfe8e64
Daily bump.
...
From-SVN: r57241
2002-09-17 07:17:45 +00:00
Benjamin Kosnik
8c7820a0de
c_shadow: Remove.
...
2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
* include/c_shadow: Remove.
* include/bits/generic_shadow.h: Remove.
* include/Makefile.am: Remove generic_shadow.h.
* acinclude.m4: Remove c_shadow references.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* mkcshadow: Remove.
* mkinclosure: Remove.
From-SVN: r57231
2002-09-17 05:50:44 +00:00
GCC Administrator
b423e6fe61
Daily bump.
...
From-SVN: r57186
2002-09-16 07:17:41 +00:00
GCC Administrator
7df3fea262
Daily bump.
...
From-SVN: r57159
2002-09-15 07:17:12 +00:00
GCC Administrator
44ff054ed5
Daily bump.
...
From-SVN: r57133
2002-09-14 07:17:12 +00:00
GCC Administrator
a1edfd70e8
Daily bump.
...
From-SVN: r57099
2002-09-13 07:17:10 +00:00
GCC Administrator
81ea34e1c1
Daily bump.
...
From-SVN: r57056
2002-09-12 07:17:11 +00:00
GCC Administrator
35bb45c65b
Daily bump.
...
From-SVN: r57028
2002-09-11 07:17:13 +00:00
Benjamin Kosnik
145163253a
[multiple changes]
...
2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (__convert_from_v): Remove.
* config/locale/gnu/c_locale.h (__convert_from_v): Add.
* config/locale/generic/c_locale.h (__convert_from_v): Add.
2002-09-11 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (__convert_from_v):
Use __uselocale instead of setlocale for glibc 2.3+.
From-SVN: r57021
2002-09-11 04:25:41 +00:00
Benjamin Kosnik
38cca75024
Makefile.am (sources): Edit.
...
2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (sources): Edit.
(target_sources): New.
(target_sources_extra): New.
* src/Makefile.in: Regenerate.
* acinclude.m4: Set CCODECVT_CC.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/locale.cc: Move ctype definitions...
* src/ctype.cc: ...here. New file.
* src/locale.cc: Move codecvt definitions...
* src/codecvt.cc: ...here.
* config/generic/codecvt_members.cc: ...and here.
* config/gnu/codecvt_members.cc: ...and here.
* include/bits/codecvt.h: Tweak.
* include/bits/locale_facets: Tweak.
* src/bitset.cc: Correct license text.
* src/concept-inst.cc: Same.
* src/strstream.cc: Same.
* src/vterminate.cc: Same.
From-SVN: r57020
2002-09-11 03:36:45 +00:00
Gabriel Dos Reis
be26865df1
stl_vector.h (vector<>): Don't use a name with different meanings before and after re-evaluation in the...
...
2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
* include/bits/stl_vector.h (vector<>): Don't use a name with
different meanings before and after re-evaluation in the completed
scope.
* include/bits/basic_string.h (basic_string<>): Likewise.
* include/bits/stl_bvector.h (vector<bool>): Likewise.
* include/bits/stl_deque.h (std): Likewise.
* include/bits/stl_list.h (list<>): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>): Likewise.
From-SVN: r57014
2002-09-10 23:19:10 +00:00
Paolo Carlini
c6b5df5351
codecvt.h (class __codecvt_abstract_base): Add __c_locale type _M_c_locale_codecvt member.
...
2002-09-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/codecvt.h (class __codecvt_abstract_base):
Add __c_locale type _M_c_locale_codecvt member.
(class codecvt<char, char, mbstate_t>,
class codecvt<wchar_t, char, mbstate_t>): Add new
codecvt(__c_locale, size_t) constructor.
(codecvt_byname::codecvt_byname): Update.
* src/codecvt.cc (class codecvt<char, char, mbstate_t>,
class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
constructor and ~codecvt() destructor; define
codecvt(__c_locale, size_t) constructor.
(codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
(codecvt::do_in): Ditto for mbsrtowcs call.
* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
Tweak construction of codecvt facets.
From-SVN: r57011
2002-09-10 19:35:04 +00:00
GCC Administrator
908d0841de
Daily bump.
...
From-SVN: r57000
2002-09-10 07:17:15 +00:00
Danny Smith
57c4e0cd35
locale_facets.tcc (__convert_from_v): Replace strdup with ISO malloc and strcpy.
...
* include/bits/locale_facets.tcc (__convert_from_v):
Replace strdup with ISO malloc and strcpy.
From-SVN: r56991
2002-09-10 02:41:55 +00:00
GCC Administrator
628c57653c
Daily bump.
...
From-SVN: r56967
2002-09-09 07:17:10 +00:00
GCC Administrator
26df57208b
Daily bump.
...
From-SVN: r56944
2002-09-08 07:17:11 +00:00
GCC Administrator
62d8c4f11c
Daily bump.
...
From-SVN: r56914
2002-09-07 07:17:37 +00:00
Benjamin Kosnik
09ff0ee4cf
localefwd.h: Tweak formatting.
...
2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/localefwd.h: Tweak formatting.
* docs/html/abi.txt: Add.
From-SVN: r56903
2002-09-06 19:52:38 +00:00
GCC Administrator
78fdd6f637
Daily bump.
...
From-SVN: r56878
2002-09-06 07:17:10 +00:00
Jakub Jelinek
89671b7067
c++locale_internal.h: New header.
...
* config/locale/generic/c++locale_internal.h: New header.
* config/locale/gnu/c++locale_internal.h: New header.
* config/locale/gnu/c_locale.cc: Include it.
* config/locale/gnu/collate_members.cc: Include it.
* config/locale/gnu/ctype_members.cc: Include it.
* config/locale/gnu/messages_members.cc: Include it.
* config/locale/gnu/monetary_members.cc: Include it.
* config/locale/gnu/numeric_members.cc: Include it.
* config/locale/gnu/time_members.cc: Include it.
(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
glibc.
(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
C locale.
* acinclude.m4: Include string.h when testing strcoll_l.
For glibc 2.3 provide __-prefixed prototypes.
(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
* aclocal.m4, configure: Rebuilt.
* include/bits/locale_facets.h: Add declaration of specialization
here.
* config/locale/gnu/messages_members.cc: Add specialization for
messages<wchar_t>.
* config/locale/gnu/messages_members.h: Remove generic definition
of do_get.
From-SVN: r56837
2002-09-05 09:46:17 +02:00
GCC Administrator
60179904a4
Daily bump.
...
From-SVN: r56835
2002-09-05 07:17:09 +00:00
GCC Administrator
9837dc8d68
Daily bump.
...
From-SVN: r56788
2002-09-04 07:17:08 +00:00
GCC Administrator
871b8583dc
Daily bump.
...
From-SVN: r56751
2002-09-03 07:17:18 +00:00
GCC Administrator
e53fbf8a3c
Daily bump.
...
From-SVN: r56737
2002-09-02 07:17:12 +00:00
GCC Administrator
ad5aa77eec
Daily bump.
...
From-SVN: r56718
2002-09-01 07:17:08 +00:00
Phil Edwards
51122a4242
acinclude.m4: Minor comment tweaks.
...
2002-08-31 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Minor comment tweaks.
* docs/html/makedoc.awk: New file...
* docs/html/Makefile: ...called from here...
* docs/html/documentation.html: ...to help generate this.
* docs/html/21_strings/howto.html: Prepare for new entry.
* include/bits/basic_string.h: Initial basic_stirng hook for
doxygen. Remove trailing whitespace.
* include/bits/char_traits.h: Point to onlinedocs for new entry.
* include/bits/stringfwd.h: Add doxygen hooks for string and
wstring typedefs.
From-SVN: r56711
2002-09-01 00:33:53 +00:00
GCC Administrator
ea9405c080
Daily bump.
...
From-SVN: r56702
2002-08-31 07:17:13 +00:00
GCC Administrator
3aee909ec6
Daily bump.
...
From-SVN: r56680
2002-08-30 07:17:54 +00:00
GCC Administrator
bc3d46d087
Daily bump.
...
From-SVN: r56652
2002-08-29 07:17:24 +00:00
GCC Administrator
6751d7378f
Daily bump.
...
From-SVN: r56634
2002-08-28 07:17:28 +00:00
GCC Administrator
b0c6c224e2
Daily bump.
...
From-SVN: r56596
2002-08-27 07:17:16 +00:00
GCC Administrator
00e3dddac0
Daily bump.
...
From-SVN: r56581
2002-08-26 07:17:18 +00:00
GCC Administrator
1e798cdea9
Daily bump.
...
From-SVN: r56568
2002-08-25 07:17:11 +00:00
GCC Administrator
3f1a8d76d2
Daily bump.
...
From-SVN: r56554
2002-08-24 07:17:09 +00:00
Phil Edwards
6dc5fdfd5f
linker-map.gnu: Verbose comments, clean up spacing.
...
2002-08-23 Phil Edwards <pme@gcc.gnu.org>
* config/linker-map.gnu: Verbose comments, clean up spacing.
* include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
statements.
__allocator: Change class declaration to struct.
* docs/html/17_intro/C++STYLE: Fix typo.
* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_vector.h: Fix fallout from typo.
From-SVN: r56540
2002-08-23 16:52:29 +00:00
GCC Administrator
939e32f060
Daily bump.
...
From-SVN: r56538
2002-08-23 07:17:10 +00:00
GCC Administrator
27a7fc5da6
Daily bump.
...
From-SVN: r56509
2002-08-22 07:17:37 +00:00
GCC Administrator
0ac6a1e553
Daily bump.
...
From-SVN: r56487
2002-08-21 07:17:17 +00:00
GCC Administrator
ca5f5a47a1
Daily bump.
...
From-SVN: r56461
2002-08-20 07:17:52 +00:00
GCC Administrator
8779818966
Daily bump.
...
From-SVN: r56436
2002-08-19 07:17:42 +00:00
GCC Administrator
e48171d718
Daily bump.
...
From-SVN: r56423
2002-08-18 07:17:22 +00:00
GCC Administrator
046fff34a5
Daily bump.
...
From-SVN: r56408
2002-08-17 07:17:10 +00:00
GCC Administrator
408caa3aa2
Daily bump.
...
From-SVN: r56375
2002-08-16 07:17:08 +00:00
Benjamin Kosnik
6e52332ec7
re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)
...
2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
_M_buf_size_opt to zero when unbuffering.
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
Consistency checks for _M_buf_size_opt.
Revert PR libstdc++/7445
* src/locale.cc (locale::classic): Revert.
* docs/html/17_intro/TODO: Add.
From-SVN: r56365
2002-08-15 22:25:39 +00:00
GCC Administrator
6848fc973f
Daily bump.
...
From-SVN: r56344
2002-08-15 07:17:09 +00:00
GCC Administrator
f8a3bda253
Daily bump.
...
From-SVN: r56281
2002-08-14 07:17:11 +00:00
GCC Administrator
2d7db877a5
Daily bump.
...
From-SVN: r56247
2002-08-13 07:17:48 +00:00
GCC Administrator
cbd1032a3a
Daily bump.
...
From-SVN: r56230
2002-08-12 07:17:19 +00:00
GCC Administrator
982f35d62b
Daily bump.
...
From-SVN: r56196
2002-08-11 07:17:08 +00:00
GCC Administrator
c2c967fd25
Daily bump.
...
From-SVN: r56180
2002-08-10 07:17:07 +00:00
Phil Edwards
3971a4d235
deque.tcc, [...]: Re-indent contents of namespace std, re-wrap comment lines as necessary.
...
2002-08-09 Phil Edwards <pme@gcc.gnu.org>
* include/bits/deque.tcc, include/bits/list.tcc,
include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_list.h, include/bits/stl_map.h,
include/bits/stl_multimap.h, include/bits/stl_queue.h,
include/bits/stl_stack.h, include/bits/stl_vector.h,
include/bits/vector.tcc: Re-indent contents of namespace std,
re-wrap comment lines as necessary.
From-SVN: r56165
2002-08-09 16:51:15 +00:00
GCC Administrator
f08b2b3b2e
Daily bump.
...
From-SVN: r56161
2002-08-09 07:17:18 +00:00
Danny Smith
a2554733cc
istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.
...
2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
not snextc.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r56153
2002-08-09 06:00:18 +00:00
GCC Administrator
90a589aa9c
Daily bump.
...
From-SVN: r56125
2002-08-08 07:17:17 +00:00
GCC Administrator
7971aec773
Daily bump.
...
From-SVN: r56098
2002-08-07 07:17:51 +00:00
GCC Administrator
379177405b
Daily bump.
...
From-SVN: r56065
2002-08-06 07:17:24 +00:00
GCC Administrator
f662469ef1
Daily bump.
...
From-SVN: r56047
2002-08-05 07:17:11 +00:00
Gabriel Dos Reis
00386a9be1
slice_array.h (_DEFINE_VALARRAY_OPERATOR): Instantiate with new function objects.
...
PR/7491
* include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
Instantiate with new function objects.
* include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
Reformat. Uglify.
* include/bits/gslice_array.h: Likewise.
* include/bits/indirect_array.h: Likewise.
From-SVN: r56036
2002-08-05 02:09:27 +00:00
GCC Administrator
9cc7dbc4a8
Daily bump.
...
From-SVN: r56019
2002-08-04 07:17:06 +00:00
GCC Administrator
7541e98e0a
Daily bump.
...
From-SVN: r56007
2002-08-03 07:17:08 +00:00
Gabriel Dos Reis
971cfc6f10
valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our object function surrogates.
...
* include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
object function surrogates.
* include/bits/valarray_meta.h (__shift_left): Fix typo.
(_BinFunClos<>): Remove.
(_BinFunBase<>): Likewise.
(_BinFunBase1<>):Likewise.
(_BinFunBase2<>): Likewise.
(_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
(_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
(_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
* include/std/std_valarray.h: Dont #include <functional> anymore.
(_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
_Shift_right<>): Remove.
(_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
(_DEFINE_BINARY_OPERATOR): Tweak definition.
(_DEFINE_LOGICAL_OPERATOR): Remove.
* testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
From-SVN: r56001
2002-08-02 23:08:40 +00:00
Gabriel Dos Reis
74d6b8ca63
valarray_meta.h (_UnFunBase<>): Remove.
...
* include/bits/valarray_meta.h (_UnFunBase<>): Remove.
(_UnFunClos<>): Same.
(_UnBase<>): Reformat. Make first template-parameter non
template.
(_UnClos<>): Likewise.
(_Expr<>): Reformate. Adjust unary member operator return types.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
(_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
* include/std/std_valarray.h (_UnClos<>): Adjust declaration.
(valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
operator return types. Reformat.
(_Bitwise_not): Remove.
(_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
* testsuite/26_numerics/valarray_name_lookup.C: New test.
From-SVN: r55993
2002-08-02 18:10:38 +00:00
Gabriel Dos Reis
2b1a407046
valarray_meta.h (__unary_plus, [...]): New function object classes.
...
* include/bits/valarray_meta.h (__unary_plus, __negate,
__bitwise_not, __plus, __minus, __multiplies, __divides,
__modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
__shift_left, __shift_right, __logical_and, __logical_or,
__logical_not, __equal_to, __not_equal_to, __less, __less_equal,
__greater_equal, __greater, __atan2, __pow): New function object
classes.
(__fun<>): New function traits class.
From-SVN: r55985
2002-08-02 13:51:46 +00:00
GCC Administrator
509da48a87
Daily bump.
...
From-SVN: r55978
2002-08-02 07:17:14 +00:00
GCC Administrator
e466f36952
Daily bump.
...
From-SVN: r55931
2002-08-01 07:17:12 +00:00
GCC Administrator
92c3670c14
Daily bump.
...
From-SVN: r55900
2002-07-31 07:17:08 +00:00
Benjamin Kosnik
f13a69eccf
char_traits.h: Remove generic definitions.
...
2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
Gabriel Dos Reis <gdr@nerim.net>
* include/bits/char_traits.h: Remove generic definitions.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
eof, not -2.
* include/bits/istream.tcc (istream::readsome): Don't check
against eof, instead use constants.
(istream::sync): Same.
(istream::sentry::sentry): Use eq_int_type.
(istream::get): Same.
* include/bits/ostream.tcc: Change __pad to
__pad<_CharT, _Traits>::_S_pad.
* include/bits/locale_facets.h: Add __pad_traits generic and
ostreambuf_iterator specialization.
* include/bits/locale_facets.tcc: Change __pad into struct __pad
with a _CharT and _Traits template parameter and _S_pad static
member function.
* src/locale-inst.cc: Update __pad instantiations.
* include/std/std_fstream.h: Declare _M_underflow_common
specializations.
* src/fstream.cc: New. Add _M_underflow_common specializations.
* include/bits/fstream.tcc (filebuf::close): Use traits_type.
(filebuf::_M_underflow_common(bool)): Remove generic version, as
sys_ungetc and custom int_types don't get along.
* include/std/std_streambuf.h: Add _M_pos.
* src/Makefile.am (sources): Add fstream.cc.
* src/Makefile.in: Regenerate.
* testsuite/21_strings/capacity.cc: Add char_traits specializations.
* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
* testsuite/27_io/filebuf.cc: ...here.
* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
specialization for both.
* testsuite/27_io/streambuf.cc: Add instantiation test,
testsuite_hooks include.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
Co-Authored-By: Gabriel Dos Reis <gdr@nerim.net>
From-SVN: r55893
2002-07-31 02:47:36 +00:00
GCC Administrator
d2cea56aaf
Daily bump.
...
From-SVN: r55870
2002-07-30 07:17:09 +00:00
GCC Administrator
789161102e
Daily bump.
...
From-SVN: r55832
2002-07-29 07:17:07 +00:00
GCC Administrator
3e75a2f99d
Daily bump.
...
From-SVN: r55813
2002-07-28 07:17:06 +00:00
GCC Administrator
3368e9773b
Daily bump.
...
From-SVN: r55796
2002-07-27 07:16:57 +00:00
GCC Administrator
d0a5af59f4
Daily bump.
...
From-SVN: r55775
2002-07-26 07:16:59 +00:00
Benjamin Kosnik
325fceb395
re PR libstdc++/7220 (g++ 3.1: basic_istream::ignore(0,delimiter) issue.)
...
2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7220
* include/bits/istream.tcc (istream::ignore): Don't extract on
zero.
* testsuite/27_io/istream_unformatted.cc (test10): Add.
From-SVN: r55763
2002-07-25 23:20:49 +00:00
GCC Administrator
18965224c6
Daily bump.
...
From-SVN: r55742
2002-07-25 07:16:57 +00:00
Benjamin Kosnik
922045978d
re PR libstdc++/7219 (_GLIBCPP_DEPRECATED on (ios_base::streamoff and ios_base::streampos types))
...
2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7219
* testsuite/27_io/ios_base_type.cc: New.
* include/bits/ios_base.h (ios_base::streampos): Add.
(ios_base::streamoff): Add.
From-SVN: r55726
2002-07-24 23:17:13 +00:00
GCC Administrator
956301631b
Daily bump.
...
From-SVN: r55700
2002-07-24 07:17:30 +00:00
GCC Administrator
1e7a2d3fd5
Daily bump.
...
From-SVN: r55673
2002-07-23 07:17:57 +00:00
GCC Administrator
9f8da5fad6
Daily bump.
...
From-SVN: r55643
2002-07-22 07:16:57 +00:00
GCC Administrator
753e29b145
Daily bump.
...
From-SVN: r55622
2002-07-21 07:16:51 +00:00
GCC Administrator
3d1fc12974
Daily bump.
...
From-SVN: r55608
2002-07-20 07:16:56 +00:00
Phil Edwards
aa2d5ba2c7
abi.txt: New file.
...
2002-07-20 Phil Edwards <pme@gcc.gnu.org>
* docs/html/abi.txt: New file.
* docs/html/23_containers/howto.html: Tweak vector-overhead text.
* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
Import from upstream, R22.
* include/bits/char_traits.h, include/bits/stl_iterator.h,
include/bits/stl_iterator_base_types.h, libsupc++/exception,
libsupc++/new, libsupc++/typeinfo: Use @brief markup.
* include/bits/deque.tcc, include/bits/stl_alloc.h,
include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
of deprecated functions until 3.4. (Same timeframe, different text.)
* include/bits/stl_vector.h: Ditto. Also do the same cleanups that
the other sequence classes received.
From-SVN: r55602
2002-07-20 06:26:27 +00:00
GCC Administrator
7ea8939450
Daily bump.
...
From-SVN: r55583
2002-07-19 07:16:57 +00:00
Brendan Kehoe
926479c2b1
e <brendan@zen.org>
...
* bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
_Nname to _Name.
From-SVN: r55578
2002-07-19 04:51:42 +00:00
Gabriel Dos Reis
bb403d6917
slice_array.h (slice_array<T>::operator=(const T&)): Constify.
...
* include/bits/slice_array.h
(slice_array<T>::operator=(const T&)): Constify.
* include/bits/gslice_array.h
(gslice_array<T>::operator=(const T&)): Likewise.
* include/bits/mask_array.h
(mask_array<T>::operator=(const T&)): Likewise.
* include/bits/indirect_array.h
(indirect_array<T>::operator=(const T&): Likewise.
:w
From-SVN: r55577
2002-07-19 04:45:20 +00:00
GCC Administrator
cd095b7d1f
Daily bump.
...
From-SVN: r55552
2002-07-18 07:19:00 +00:00
GCC Administrator
5fc5be1522
Daily bump.
...
From-SVN: r55513
2002-07-17 07:17:26 +00:00
GCC Administrator
05abfd2d46
Daily bump.
...
From-SVN: r55479
2002-07-16 07:16:50 +00:00
Gabriel Dos Reis
5068f54685
Makefile.am (bits_headers): Remove slice.h
...
* include/Makefile.am (bits_headers): Remove slice.h
* include/Makefile.in: Regenerate.
* include/bits/slice.h (slice): move to include/bits/slice_array.h
* include/bits/slice.h Remove.
* include/std/std_valarray.h: Don't #include bits/slice.h anymore.
* include/bits/slice_array.h: Comply to official coding styles.
* testsuite/26_numerics/slice.cc: New test.
:w
:q
From-SVN: r55470
2002-07-16 00:19:18 +00:00
GCC Administrator
1ffa74fb24
Daily bump.
...
From-SVN: r55456
2002-07-15 07:16:52 +00:00
GCC Administrator
839eb5a160
Daily bump.
...
From-SVN: r55442
2002-07-14 07:16:50 +00:00
GCC Administrator
33ce85ffa7
Daily bump.
...
From-SVN: r55435
2002-07-13 07:16:49 +00:00