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
9a56333e55
re PR libstdc++/7230 (<strstream> header file is missing (trunk))
...
2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7230
* config/linker-map.gnu: Revert strstream patch from 2002-07-01.
* include/Makefile.am (backward_headers): Use strstream, not
strstream.h.
* include/Makefile.in: Regenerate.
* include/backward/strstream: Revert.
* include/backward/strstream.h: Remove.
* src/strstream.cc: Revert.
* testsuite/backward/strstream_members.cc: Change include.
From-SVN: r55730
2002-07-25 00:04:37 +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
GCC Administrator
5a363fc83e
Daily bump.
...
From-SVN: r55417
2002-07-12 07:16:56 +00:00
GCC Administrator
b70fc53b64
Daily bump.
...
From-SVN: r55394
2002-07-11 07:16:52 +00:00
Matt Kraai
92ff302b2b
stl_deque.h: Fix misspelling of Create' as
Creats'.
...
* include/bits/stl_deque.h: Fix misspelling of `Create' as `Creats'.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.
From-SVN: r55388
2002-07-11 04:43:15 +00:00
Gabriel Dos Reis
c963e6b00c
valarray_meta.h (_UnFunBase): Take a second template parameter.
...
* include/bits/valarray_meta.h (_UnFunBase): Take a second
template parameter. Remove _M_func data member.
(_UnFunClos): Take a third template parameter.
(__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
__atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
From-SVN: r55365
2002-07-10 12:06:37 +00:00
GCC Administrator
9924857981
Daily bump.
...
From-SVN: r55363
2002-07-10 07:17:32 +00:00
GCC Administrator
e6da97c9b0
Daily bump.
...
From-SVN: r55340
2002-07-09 07:16:50 +00:00
Peter Schmid
7766810445
stl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compiler warnings and restore 3.1 ABI.
...
2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_deque.h (_Deque_alloc_base): Change order of
member declarations to avoid compiler warnings and restore 3.1 ABI.
From-SVN: r55325
2002-07-08 12:24:52 +00:00
GCC Administrator
974a90cfec
Daily bump.
...
From-SVN: r55318
2002-07-08 07:16:59 +00:00
Paolo Carlini
276e31ec6e
re PR libstdc++/7186 (DR179 for std::deque::iterator and const_iterator)
...
2002-07-07 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/7186
* include/bits/stl_deque.h (_Deque_iterator::operator-):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/23_containers/deque_operators.cc: Add test02.
From-SVN: r55301
2002-07-07 10:15:06 +00:00
GCC Administrator
12f2f485a3
Daily bump.
...
From-SVN: r55300
2002-07-07 07:18:36 +00:00
GCC Administrator
6ab5f79598
Daily bump.
...
From-SVN: r55285
2002-07-06 07:17:48 +00:00
GCC Administrator
3aa0aa2966
Daily bump.
...
From-SVN: r55256
2002-07-05 07:17:18 +00:00
Benjamin Kosnik
49433044e4
std_streambuf.h (basic_streambuf::_M_buf): Change to size_t, from int_type.
...
2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
Jack Reeves <jackw_reeves@hotmail.com>
* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
size_t, from int_type.
(basic_streambuf::_M_buf_size_opt): Same.
(basic_streambuf::_S_pback_sizex): Same.
* include/bits/streambuf.tcc: Same.
* include/std/std_streambuf.h (basic_streambuf::snextc): Use
eq_int_type.
(basic_streambuf::uflow): Same.
* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
to_char_type.
* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
eq_int_type.
(basic_streambuf::xsputn): Same.
(__copy_streambufs): Same.
Co-Authored-By: Jack Reeves <jackw_reeves@hotmail.com>
From-SVN: r55242
2002-07-04 09:20:01 +00:00
Benjamin Kosnik
5acf59f8e1
std_memory.h: Fix formatting.
...
2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_memory.h: Fix formatting.
* testsuite/20_util/auto_ptr_neg.cc: New.
* testsuite/20_util/auto_ptr.cc: Tweaks.
* testsuite/23_containers/map_operators.cc (test01): Split into..
* testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
* testsuite/23_containers/set_operators.cc: Move to...
* testsuite/23_containers/set_operators_neg.cc: ...here.
* testsuite/README: Add some more naming rules.
From-SVN: r55241
2002-07-04 07:25:19 +00:00
GCC Administrator
7c0f8bc1f4
Daily bump.
...
From-SVN: r55240
2002-07-04 07:17:50 +00:00
Steev Wilcox
ec4d88f907
re PR libstdc++/7057 (Operator== on hashtables doesn't appear to work correctly (patch included))
...
2002-07-03 Steev Wilcox <steev@paradigmds.com>
PR libstdc++/7057
* include/ext/stl_hashtable.h: Fix.
* testsuite/ext/hash_map.cc: New.
From-SVN: r55229
2002-07-04 00:28:03 +00:00
Jack Reeves
16ad69a19d
re PR libstdc++/3946 (auto_ptr_ref constructor allows dangerous conversion)
...
2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
Kenny Simpson <theonetruekenny@yahoo.com>
Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/3946
* testsuite/20_util/auto_ptr.cc (test08): New test.
* include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
(auto_ptr::operator auto_ptr_ref): Fix typo.
General reformatting and doxygenating of the whole file.
Co-Authored-By: Kenny Simpson <theonetruekenny@yahoo.com>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r55223
2002-07-03 22:25:06 +00:00
Benjamin Kosnik
fcad420e8f
re PR libstdc++/7097 (_GLIBCPP_HAVE_MBSTATE_T breaks non-GLIB systems)
...
2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7097
* include/c/std_cwchar.h: Fix.
From-SVN: r55216
2002-07-03 17:14:21 +00:00
GCC Administrator
032b2b2990
Daily bump.
...
From-SVN: r55208
2002-07-03 07:17:24 +00:00
Benjamin Kosnik
fdf7e80975
re PR libstdc++/6410 (Trouble with non-Ascii monetary symbols and wchar_t)
...
2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6410
* include/bits/locale_facets.h (moneypunct::moneypunct): Add const
char* name parameter.
* config/locale/gnu/monetary_members.cc: Use it.
* config/locale/generic/monetary_members.cc: Same.
* src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
* include/backward/strstream.h: Update date.
From-SVN: r55203
2002-07-03 06:29:26 +00:00
Paolo Carlini
d16ecaec1d
re PR libstdc++/6642 (Constness prevents substraction of iterators)
...
2002-07-02 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6642
* include/bits/stl_iterator.h
(__normal_iterator::operator-(const __normal_iterator&)):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/24_iterators/iterator.cc: Add test from the PR.
From-SVN: r55188
2002-07-02 18:42:58 +00:00
GCC Administrator
7c1c5ccec8
Daily bump.
...
From-SVN: r55179
2002-07-02 07:19:51 +00:00
Phil Edwards
fc7f0a806c
configopts.html, [...]: Tweaks.
...
2002-07-02 Phil Edwards <pme@gcc.gnu.org>
* docs/html/configopts.html, docs/html/install.html: Tweaks.
* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
From-SVN: r55172
2002-07-02 06:17:36 +00:00
Benjamin Kosnik
eafa1afac6
strstream: Remove namespace std.
...
2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
* include/backward/strstream: Remove namespace std. Transfer to...
* include/backward/strstream.h: ...here. Qualify std names.
* src/strstream.cc: Remove namespace std.
* include/Makefile.am (backward_headers): Remove strstream.h.
* include/Makefile.in: Regenerate.
* config/linker-map.gnu: Export strstream bits.
* src/fstream-inst.cc: Tweak.
* src/io-inst.cc: Same.
* src/istream-inst.cc: Same.
* src/misc-inst.cc: Same.
* src/ostream-inst.cc: Same.
* src/sstream-inst.cc: Same.
* src/valarray-inst.cc: Same.
* src/misc-inst.cc: Remove unused instantiations.
From-SVN: r55148
2002-07-01 19:58:42 +00:00
GCC Administrator
0201312b89
Daily bump.
...
From-SVN: r55132
2002-07-01 07:17:09 +00:00
GCC Administrator
76147cce13
Daily bump.
...
From-SVN: r55117
2002-06-30 07:18:09 +00:00
GCC Administrator
ddd9819e57
Daily bump.
...
From-SVN: r55100
2002-06-29 07:17:41 +00:00
Phil Edwards
446c5b11aa
PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
...
2002-06-28 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
* include/std/std_queue.h: Include deque.tcc, vector.tcc.
* include/std/std_stack.h: Include deque.tcc.
* testsuite/23_containers/adaptors.cc: New file.
From-SVN: r55090
2002-06-29 01:10:51 +00:00
GCC Administrator
20c2d1fea3
Daily bump.
...
From-SVN: r55061
2002-06-28 07:18:09 +00:00
Phil Edwards
07a6e20be9
stl_alloc.h: Deprecate all 'reallocate' memfns.
...
2002-06-27 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
* docs/html/ext/howto.html: Update allocator notes.
From-SVN: r55044
2002-06-27 22:09:02 +00:00