Paolo Carlini
96144e13e2
type_traits (aligned_storage): Use __aligned__ instead of aligned.
...
2005-01-23 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (aligned_storage): Use __aligned__ instead
of aligned.
From-SVN: r94107
2005-01-23 11:10:37 +00:00
Paolo Carlini
0554d39aed
re PR libstdc++/19343 (New warnings in libstdc++-v3 since 2004-01-05)
...
2005-01-23 Paolo Carlini <pcarlini@suse.de>
Andreas Jaeger <aj@suse.de>
PR libstdc++/19343
* include/bits/functexcept.h: Mark the helpers as 'noreturn'.
Co-Authored-By: Andreas Jaeger <aj@suse.de>
From-SVN: r94106
2005-01-23 10:45:01 +00:00
GCC Administrator
c2d8571d91
Daily bump.
...
From-SVN: r94093
2005-01-23 00:16:24 +00:00
GCC Administrator
41bd881c9a
Daily bump.
...
From-SVN: r94052
2005-01-22 00:17:34 +00:00
Volker Reichelt
a7a4444157
re PR libstdc++/19510 ([3.3 only] Uninitialized pointers in iterators)
...
PR libstdc++/19510
* include/bits/stl_list.h (_List_iterator): Initialize _M_node
in constructor.
(_List_const_iterator): Likewise.
* include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
(_Rb_tree_const_iterator): Likewise.
* testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
From-SVN: r94002
2005-01-21 01:23:28 +00:00
GCC Administrator
75c97b449c
Daily bump.
...
From-SVN: r94000
2005-01-21 00:19:27 +00:00
Paolo Carlini
9634af0238
re PR libstdc++/19535 (Wrong return types for __pair_get<1>)
...
2005-01-19 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/19535
* include/tr1/utility (struct __pair_get<1>::__get, __const_get):
Fix typo in the return type.
* testsuite/tr1/6_containers/utility/19535.cc: New.
From-SVN: r93940
2005-01-20 02:13:49 +00:00
GCC Administrator
29de1f673f
Daily bump.
...
From-SVN: r93930
2005-01-20 00:16:20 +00:00
Loren J. Rittle
75aa3f658c
array_allocator.h (array_allocator<>::allocate): Avoid __used.
...
* include/ext/array_allocator.h (array_allocator<>::allocate):
Avoid __used. Use __array_used instead.
From-SVN: r93923
2005-01-19 21:59:55 +00:00
GCC Administrator
feee824616
Daily bump.
...
From-SVN: r93876
2005-01-19 00:16:36 +00:00
GCC Administrator
e5cd332117
Daily bump.
...
From-SVN: r93801
2005-01-18 00:16:59 +00:00
Paolo Carlini
ac317859d4
re PR libstdc++/19433 (set, multiset, map, multimap misuse hint on insert)
...
2005-01-17 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/19433
* include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
Obtain amortized constant complexity if t is inserted right after
p - not before p - as per Table 69.
* testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
* testsuite/23_containers/multiset/insert/2.cc: New.
* testsuite/23_containers/set/insert/1.cc: Likewise.
* testsuite/performance/23_containers/set_create_from_sorted.cc:
Simplify.
* include/bits/stl_tree.h: Add a few missing std:: qualifications.
From-SVN: r93761
2005-01-17 14:14:26 +00:00
GCC Administrator
15ce652006
Daily bump.
...
From-SVN: r93747
2005-01-17 00:16:17 +00:00
Jonathan Wakely
412dc870cb
rope: Qualify calls to std::copy() by sequence_buffer.
...
2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
* include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
* testsuite/ext/rope/4.cc: Add.
From-SVN: r93736
2005-01-16 19:16:27 +00:00
Lorenz Minder
3a2794abdb
re PR libstdc++/19322 (std::isnan<>() is broken on FreeBSD)
...
2005-01-16 Lorenz Minder <lminder@gmx.net>
Paolo Carlini <pcarlini@suse.de>
PR libstdc++/19322
* include/c_std/std_cmath.h: Define the C99 classification facilities
directly inside namespace std:.
* testsuite/26_numerics/cmath/19322.cc: New.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r93723
2005-01-16 09:59:06 +00:00
GCC Administrator
c3bcec128a
Daily bump.
...
From-SVN: r93719
2005-01-16 00:16:16 +00:00
GCC Administrator
6c80f42e95
Daily bump.
...
From-SVN: r93677
2005-01-15 00:18:06 +00:00
Paolo Carlini
21c332dc93
re PR libstdc++/19422 (assoc. containers: ctor taking range is O(n log n) even if the range is sorted)
...
2005-01-14 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/19422
* include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
_Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
respectively) with hint (end()).
* testsuite/performance/23_containers/set_create_from_sorted.cc: New.
From-SVN: r93663
2005-01-14 21:09:38 +00:00
GCC Administrator
997e120f69
Daily bump.
...
From-SVN: r93618
2005-01-14 00:16:20 +00:00
GCC Administrator
357e6cb869
Daily bump.
...
From-SVN: r93241
2005-01-13 00:16:32 +00:00
GCC Administrator
475fa38563
Daily bump.
...
From-SVN: r93213
2005-01-12 00:16:22 +00:00
Paolo Carlini
78593d78f1
istream.cc (basic_istream<char>::ignore(streamsize), [...]): In case more than numeric_limits<streamsize>::max() chars are skipped...
...
2005-01-11 Paolo Carlini <pcarlini@suse.de>
Benjamin Kosnik <bkoz@redhat.com>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
more than numeric_limits<streamsize>::max() chars are skipped,
set _M_gcount = max().
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise; keep simple, don't forward.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r93208
2005-01-11 23:35:43 +00:00
Paolo Carlini
a141a5afe1
istream.cc (basic_istream<char>::ignore(streamsize), [...]): Revert 2005-01-05 change...
...
2005-01-11 Paolo Carlini <pcarlini@suse.de>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
2005-01-05 change: actually, the previous behavior is conforming
and consistent with that of get(char_type*, streamsize, char_type),
albeit slightly different from that of 3.3/3.4 in a corner case
due to the use of snextc.
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise.
* testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
* testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
From-SVN: r93189
2005-01-11 16:48:14 +00:00
Paolo Carlini
464b277ba2
type_traits: Implement alignment_of and aligned_storage.
...
2005-01-11 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement alignment_of and aligned_storage.
* testsuite/tr1/4_metaprogramming/other_transformations/
aligned_storage/aligned_storage.cc: New.
* testsuite/tr1/4_metaprogramming/other_transformations/
aligned_storage/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
alignment_of/alignment_of.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
alignment_of/typedefs.cc: Likewise.
From-SVN: r93183
2005-01-11 12:29:31 +00:00
GCC Administrator
cc76514339
Daily bump.
...
From-SVN: r93162
2005-01-11 00:16:49 +00:00
Paolo Carlini
3e636396c8
Makefile.in: Regenerate.
...
2005-01-10 Paolo Carlini <pcarlini@suse.de>
* Makefile.in: Regenerate.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
2005-01-10 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (lexicographical_compare):
Fix concept check.
From-SVN: r93143
2005-01-10 17:07:50 +00:00
GCC Administrator
bc29943ee9
Daily bump.
...
From-SVN: r93126
2005-01-10 00:16:19 +00:00
GCC Administrator
a7e53bbf01
Daily bump.
...
From-SVN: r93098
2005-01-09 00:16:24 +00:00
GCC Administrator
9e04a3bfee
Daily bump.
...
From-SVN: r93072
2005-01-08 00:16:36 +00:00
Benjamin Kosnik
825bd0e1e8
acinclude.m4: Remove CCODECVT_H.
...
2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: Remove CCODECVT_H.
* configure: Regenerate.
* include/Makefile.am (host_headers_extra): Move to...
(ext_headers): ...here.
* include/Makefile.in: Regenerate.
* include/ext/enc_filebuf: Remove enc_filebuf, consolidate
enc_traits to...
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
* include/ext/codecvt_specializations.h: ...here. Remove
_GLIBCXX_USE___ENC_TRAITS.
(__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
(enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
namespace.
* config/locale/generic/codecvt_specializations.h: Remove.
* include/bits/codecvt.h: Remove codecvt_specializations.h include.
* src/codecvt.cc: Remove __enc_traits::_S_max_size.
From-SVN: r93062
2005-01-07 19:34:46 +00:00
GCC Administrator
44d0e0415d
Daily bump.
...
From-SVN: r93018
2005-01-07 00:16:18 +00:00
Benjamin Kosnik
a8e3a00f54
fstream.tcc: Remove unnecessary qualifications for uglified data members of basic_filebuf...
...
2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc: Remove unnecessary qualifications for
uglified data members of basic_filebuf, including _M_buf,
_M_buf_size, _M_mode, _M_pback_init.
* include/std/std_fstream.h: Same.
From-SVN: r93006
2005-01-06 20:40:25 +00:00
GCC Administrator
bb19349385
Daily bump.
...
From-SVN: r92980
2005-01-06 00:16:18 +00:00
Paolo Carlini
1e156882fa
istream.cc (basic_istream<char>::ignore(streamsize), [...]): At the end, first check _M_gcount vs __n.
...
2005-01-05 Paolo Carlini <pcarlini@suse.de>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
first check _M_gcount vs __n.
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise.
* testsuite/27_io/basic_istream/ignore/char/4.cc: New.
* testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
From-SVN: r92947
2005-01-05 11:11:48 +00:00
GCC Administrator
8d0cf6032b
Daily bump.
...
From-SVN: r92915
2005-01-05 00:16:16 +00:00
GCC Administrator
85b7d88973
Daily bump.
...
From-SVN: r92875
2005-01-04 00:16:18 +00:00
Paolo Carlini
ab4af6a549
istream.tcc (ignore(streamsize), [...]): Reset _M_gcount to numeric_limits<streamsize>::min().
...
2005-01-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
* src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
From-SVN: r92827
2005-01-03 14:07:26 +00:00
GCC Administrator
75b5076e96
Daily bump.
...
From-SVN: r92819
2005-01-03 00:16:44 +00:00
Paolo Carlini
bea53dbfbc
istream.cc (basic_istream<char>::ignore(streamsize), [...]): Avoid _M_gcount overflows.
...
2005-01-02 Paolo Carlini <pcarlini@suse.de>
* src/istream.cc (basic_istream<char>::ignore(streamsize),
basic_istream<char>::ignore(streamsize, int_type),
basic_istream<wchar_t>::ignore(streamsize),
basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
_M_gcount overflows.
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
int_type)): Likewise; use snextc in the main loop, consistently
with the specializations above.
From-SVN: r92816
2005-01-03 00:02:47 +00:00
Chris Jefferson
ab06dedc5d
stl_algobase.h (mismatch): Correct concept check.
...
2005-01-02 Chris Jefferson <chris@bubblescope.net>
* include/bits/stl_algobase.h (mismatch): Correct concept check.
From-SVN: r92808
2005-01-02 17:49:51 +00:00
GCC Administrator
302904495d
Daily bump.
...
From-SVN: r92797
2005-01-02 00:16:49 +00:00
GCC Administrator
8bcccf30f1
Daily bump.
...
From-SVN: r92779
2005-01-01 00:16:16 +00:00
Paolo Carlini
bdaa445236
type_traits (is_member_function_pointer): Provide a workaround for c++/19076, correct for functions with up to 15 arguments.
...
2004-12-31 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (is_member_function_pointer): Provide a
workaround for c++/19076, correct for functions with up to 15
arguments.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_member_pointer/is_member_pointer.cc: Uncomment "XFAILed" tests;
add a test for variadic functions.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_scalar/is_scalar.cc: Uncomment "XFAILed" tests.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_enum/is_enum.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_function_pointer/is_member_function_pointer.cc: Likewise;
add a test for variadic functions.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_object_pointer/is_member_object_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_assign/has_nothrow_assign.cc: Uncomment "XFAILed" tests.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_constructor/has_nothrow_constructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_copy/has_nothrow_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_assign/has_trivial_assign.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_constructor/has_trivial_constructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_copy/has_trivial_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_destructor/has_trivial_destructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_pod/is_pod.cc: Likewise.
From-SVN: r92769
2004-12-31 18:15:22 +00:00
GCC Administrator
223947a954
Daily bump.
...
From-SVN: r92752
2004-12-31 00:16:20 +00:00
Paolo Carlini
36651afeec
type_traits: Add has_trivial_copy, has_trivial_assign, has_nothrow_copy, has_nothrow_assign.
...
2004-12-30 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add has_trivial_copy, has_trivial_assign,
has_nothrow_copy, has_nothrow_assign.
* testsuite/testsuite_tr1.h: Add test_copy_property and
test_assign_property.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_assign/has_nothrow_assign.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_assign/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_copy/has_nothrow_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_copy/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_assign/has_trivial_assign.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_assign/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_copy/has_trivial_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_copy/typedefs.cc: Likewise.
From-SVN: r92745
2004-12-30 23:27:28 +00:00
Jonathan Wakely
86cdac1133
vector.tcc (erase(iterator, iterator), [...]): Qualify all calls to std::copy().
...
2004-12-29 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/vector.tcc (erase(iterator, iterator),
operator=, _M_assign_aux(_ForwardIterator, _ForwardIterator,
forward_iterator_tag)): Qualify all calls to std::copy().
From-SVN: r92724
2004-12-30 02:32:04 +00:00
GCC Administrator
b53948b951
Daily bump.
...
From-SVN: r92718
2004-12-30 00:16:33 +00:00
Paolo Carlini
5249b4b0ce
type_traits: Add has_nothrow_constructor.
...
2004-12-29 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add has_nothrow_constructor.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_constructor/has_nothrow_constructor.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_constructor/typedefs.cc: Likewise.
From-SVN: r92699
2004-12-29 12:11:27 +00:00
GCC Administrator
85f3cc4295
Daily bump.
...
From-SVN: r92691
2004-12-29 00:16:14 +00:00
Jason Merrill
445cf5eb0d
Add memory barriers to the double-checked locking used for static initialization.
...
libstdc++:
Add memory barriers to the double-checked locking used for static
initialization.
* libsupc++/guard.cc (__test_and_acquire): Define default.
(_GLIBCXX_GUARD_TEST_AND_ACQUIRE, __set_and_release)
(_GLIBCXX_GUARD_SET_AND_RELEASE): Likewise.
(recursion_push, recursion_pop): New abstraction functions.
(__cxa_guard_acquire): Use _GLIBCXX_GUARD_TEST_AND_ACQUIRE.
(__cxa_guard_release): Use _GLIBCXX_GUARD_SET_AND_RELEASE.
* config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST): Rename
from _GLIBCXX_GUARD_ACQUIRE and reverse sense.
(_GLIBCXX_GUARD_SET): Rename from _GLIBCXX_GUARD_RELEASE.
* config/cpu/arm/cxxabi_tweaks.h: Likewise.
* config/cpu/alpha/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER)
(_GLIBCXX_WRITE_MEM_BARRIER): Define.
* config/cpu/powerpc/atomic_word.h: Likewise.
* config/cpu/sparc/atomic_word.h: Likewise.
* config/cpu/generic/atomic_word.h: Define them, commented out.
* include/bits/atomicity.h: Define defaults.
* config/cpu/ia64/atomic_word.h (__test_and_acquire)
(__set_and_release): New inlines.
(_GLIBCXX_GUARD_TEST_AND_ACQUIRE): Define.
(_GLIBCXX_GUARD_SET_AND_RELEASE): Define.
* libsupc++/guard.cc (acquire_1): Use __builtin_trap instead of
abort();
gcc:
* doc/tm.texi (TARGET_RELAXED_ORDERING): Document.
* target.h (struct gcc_target): Add relaxed_ordering field.
* target-def.h (TARGET_RELAXED_ORDERING): Define default.
(TARGET_INITIALIZER): Add it.
* config/alpha/alpha.c (TARGET_RELAXED_ORDERING): Define.
* config/ia64/ia64.c (TARGET_RELAXED_ORDERING): Define.
* config/rs6000/rs6000.c (TARGET_RELAXED_ORDERING): Define.
* config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define.
* cp/decl.c (expand_static_init): Don't use shortcut if
targetm.relaxed_ordering.
From-SVN: r92659
2004-12-27 23:36:54 -05:00
GCC Administrator
460fdb4efa
Daily bump.
...
From-SVN: r92655
2004-12-28 00:16:20 +00:00
Paolo Carlini
5168743153
type_traits: Rework the _DEFINE_SPEC* macros.
...
2004-12-27 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Rework the _DEFINE_SPEC* macros.
From-SVN: r92647
2004-12-27 18:51:12 +00:00
GCC Administrator
e37ba56b57
Daily bump.
...
From-SVN: r92626
2004-12-27 00:16:18 +00:00
Paolo Carlini
fe9ddfce2c
type_traits (__is_enum_helper): Slightly simplify, make __convert non template.
...
2004-12-26 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (__is_enum_helper): Slightly simplify,
make __convert non template.
From-SVN: r92622
2004-12-26 19:05:47 +00:00
Paolo Carlini
1933b74f78
type_traits: Implement is_pod, has_trivial_constructor, and has_trivial_destructor.
...
2004-12-26 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_pod, has_trivial_constructor,
and has_trivial_destructor.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_constructor/has_trivial_constructor.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_constructor/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_destructor/has_trivial_destructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_destructor/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_pod/is_pod.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_pod/typedefs.cc: Likewise.
From-SVN: r92618
2004-12-26 11:08:47 +00:00
GCC Administrator
df96aa5261
Daily bump.
...
From-SVN: r92612
2004-12-26 00:16:13 +00:00
Paolo Carlini
310995eac7
type_traits (is_enum): Minor tweak.
...
2004-12-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (is_enum): Minor tweak.
From-SVN: r92605
2004-12-25 15:39:43 +00:00
Paolo Carlini
a9e7ba8139
type_traits: Implement is_enum (usual caveats about the nasty consequences of c++/19076...).
...
2004-12-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_enum (usual caveats about
the nasty consequences of c++/19076...).
* testsuite/testsuite_tr1.h: Add ConvType.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_scalar/is_scalar.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_scalar/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_enum/is_enum.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_enum/typedefs.cc: Likewise.
From-SVN: r92604
2004-12-25 15:24:36 +00:00
GCC Administrator
fa54a7a743
Daily bump.
...
From-SVN: r92600
2004-12-25 00:16:31 +00:00
Paolo Carlini
e2f5c678eb
type_traits: Add missing undef.
...
2004-12-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add missing undef.
From-SVN: r92597
2004-12-24 23:38:27 +00:00
Paolo Carlini
186e6683b0
type_traits: Implement is_member_object_pointer, is_member_function_pointer.
...
2004-12-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_member_object_pointer,
is_member_function_pointer. N.B. Due to c++/19076, the latter
doesn't really work at the moment (a rather ugly work around
will be provided in case the front-end bug doesn't get fixed
soon); generalize and extend the _DEFINE_SPEC macros.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_member_pointer/is_member_pointer.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_member_pointer/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_function_pointer/is_member_function_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_function_pointer/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_object_pointer/is_member_object_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_object_pointer/typedefs.cc: Likewise.
From-SVN: r92593
2004-12-24 20:33:56 +00:00
GCC Administrator
4a9dd33d4b
Daily bump.
...
From-SVN: r92580
2004-12-24 00:16:14 +00:00
GCC Administrator
a1df694e93
Daily bump.
...
From-SVN: r92523
2004-12-23 00:16:26 +00:00
Paolo Carlini
821c5063f9
type_traits_fwd.h: New, forward declarations.
...
2004-12-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits_fwd.h: New, forward declarations.
* include/tr1/type_traits: Clean-up.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
From-SVN: r92493
2004-12-22 18:40:52 +00:00
GCC Administrator
df35e33cd5
Daily bump.
...
From-SVN: r92479
2004-12-22 00:16:16 +00:00
GCC Administrator
f8c940c55c
Daily bump.
...
From-SVN: r92443
2004-12-21 00:16:15 +00:00
GCC Administrator
49a1b20cb3
Daily bump.
...
From-SVN: r92399
2004-12-20 00:16:45 +00:00
Dhruv Matani
4c10d7f02f
bitmap_allocator.h: Make doxygen style comments for internal functions and classes.
...
2004-12-19 Dhruv Matani <dhruvbird@gmx.net>
* include/ext/bitmap_allocator.h: Make doxygen style comments for
internal functions and classes.
From-SVN: r92376
2004-12-19 11:17:40 +00:00
GCC Administrator
00a689881c
Daily bump.
...
From-SVN: r92368
2004-12-19 00:16:18 +00:00
GCC Administrator
a1d601461e
Daily bump.
...
From-SVN: r92343
2004-12-18 00:16:43 +00:00
GCC Administrator
67ba1be668
Daily bump.
...
From-SVN: r92290
2004-12-17 00:16:22 +00:00
Paolo Carlini
a02def09c3
type_traits: Implement add_const, add_volatile, and add_cv.
...
2004-12-16 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement add_const, add_volatile,
and add_cv.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
add_const.cc: New.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
add_cv.cc: Likewise.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
add_volatile.cc: Likewise.
From-SVN: r92265
2004-12-16 15:00:37 +00:00
Paolo Carlini
cacd0a2ccf
type_traits: Implement is_function.
...
2004-12-16 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_function.
(struct __sfinae_types, struct __is_function_helper): New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_object/is_object.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_object/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_function/is_function.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_function/typedefs.cc: Likewise.
From-SVN: r92258
2004-12-16 11:35:56 +00:00
GCC Administrator
6591c4a79d
Daily bump.
...
From-SVN: r92237
2004-12-16 00:16:32 +00:00
GCC Administrator
a150cb057b
Daily bump.
...
From-SVN: r92170
2004-12-15 00:16:21 +00:00
GCC Administrator
80effa7501
Daily bump.
...
From-SVN: r92112
2004-12-14 00:16:19 +00:00
Paolo Carlini
273dfd213e
type_traits (extent): Minor tweak (i.e., public).
...
2004-12-13 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (extent): Minor tweak (i.e., public).
From-SVN: r92088
2004-12-13 15:01:02 +00:00
GCC Administrator
0ecbf41123
Daily bump.
...
From-SVN: r92070
2004-12-13 00:16:17 +00:00
Paolo Carlini
0736fd563f
type_traits: Minor tweak.
...
2004-12-12 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Minor tweak.
* testsuite/tr1/4_metaprogramming/type_properties/extent/
typedefs.cc: Fix date.
From-SVN: r92062
2004-12-12 21:01:37 +00:00
Paolo Carlini
973cb10b2d
type_traits: Implement extent.
...
2004-12-12 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement extent.
* testsuite/tr1/4_metaprogramming/type_properties/extent/
extent.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/extent/
typedefs.cc: Likewise.
From-SVN: r92054
2004-12-12 18:07:41 +00:00
Paolo Carlini
e192ab01d0
type_traits: Implement is_pointer, remove_pointer, and add_pointer; reformat.
...
2004-12-12 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_pointer, remove_pointer,
and add_pointer; reformat.
(_DEFINE_PRIMARY_SPEC_HELPER, _DEFINE_PRIMARY_SPEC): Generalize
and rename to _DEFINE_SPEC_HELPER and _DEFINE_SPEC; update uses.
* testsuite/tr1/4_metaprogramming/pointer_modifications/
add_pointer.cc: New.
* testsuite/tr1/4_metaprogramming/pointer_modifications/
remove_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_pointer/is_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_pointer/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_reference/is_reference.cc: Slightly tweak consistently.
From-SVN: r92047
2004-12-12 14:31:11 +00:00
GCC Administrator
00887145f4
Daily bump.
...
From-SVN: r92039
2004-12-12 00:16:15 +00:00
Paolo Carlini
db5ff2363d
type_traits: Implement rank.
...
2004-12-11 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement rank.
* testsuite/testsuite_tr1.h (test_property): Generalize to any
value_type.
(test_category, test_relationship): Slightly tweak consistently.
* testsuite/tr1/4_metaprogramming/type_properties/rank/
rank.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/rank/
typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_compound/is_compound.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_compound/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_arithmetic/is_arithmetic.cc: Tweak consistently with the
testsuite_tr1.h changes.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_fundamental/is_fundamental.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_array/is_array.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_floating_point/is_floating_point.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_integral/is_integral.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_reference/is_reference.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_void/is_void.cc: Likewise.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_same/is_same.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/is_const/
is_const.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
is_volatile.cc: Likewise.
From-SVN: r92033
2004-12-11 21:46:27 +00:00
GCC Administrator
aa6cc10ded
Daily bump.
...
From-SVN: r92022
2004-12-11 00:16:20 +00:00
Paolo Carlini
d5f60056f0
type_traits: Implement remove_const, remove_volatile, and remove_cv.
...
2004-12-10 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement remove_const, remove_volatile,
and remove_cv.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
remove_const.cc: New.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
remove_cv.cc: Likewise.
* testsuite/tr1/4_metaprogramming/const_volatile_modifications/
remove_volatile.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_array/is_array.cc: Slightly tweak consistently, remove typedefs,
add a few tests.
From-SVN: r91990
2004-12-10 11:45:13 +00:00
GCC Administrator
3bcc0cde54
Daily bump.
...
From-SVN: r91982
2004-12-10 00:16:17 +00:00
Paolo Carlini
366e6bd173
type_traits: Implement remove_extent and remove_all_extents.
...
2004-12-09 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement remove_extent and
remove_all_extents.
* testsuite/tr1/4_metaprogramming/array_modifications/
remove_all_extents.cc: New.
* testsuite/tr1/4_metaprogramming/array_modifications/
remove_extent.cc: Likewise.
From-SVN: r91958
2004-12-09 17:54:27 +00:00
GCC Administrator
1e6b30d091
Daily bump.
...
From-SVN: r91923
2004-12-09 00:16:17 +00:00
Paolo Carlini
d63a0e228c
type_traits: Implement is_same, add_reference and remove_reference.
...
2004-12-08 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_same, add_reference and
remove_reference.
* testsuite/testsuite_tr1.h (test_relationship): New.
* testsuite/tr1/4_metaprogramming/reference_modifications/
add_reference.cc: New.
* testsuite/tr1/4_metaprogramming/reference_modifications/
remove_reference.cc: Likewise.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_same/is_same.cc: Likewise.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_same/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/is_const/
is_const.cc: Minor tweaks.
* testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
is_volatile.cc: Likewise.
From-SVN: r91907
2004-12-08 16:33:51 +00:00
GCC Administrator
9492747a48
Daily bump.
...
From-SVN: r91840
2004-12-08 00:16:21 +00:00
Paolo Carlini
0f910b4f4f
type_traits: Implement is_const and is_volatile.
...
2004-12-07 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_const and is_volatile.
* testsuite/testsuite_tr1.h (test_property): New.
* testsuite/tr1/4_metaprogramming/type_properties/
is_const/is_const.c: New.
* testsuite/tr1/4_metaprogramming/type_properties/
is_const/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_volatile/is_volatile.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_volatile/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_arithmetic/is_arithmetic.cc: Slightly tweak to use ClassType
from testsuite_tr1.h.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_fundamental/is_fundamental.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_array/is_array.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_floating_point/is_floating_point.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_integral/is_integral.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_reference/is_reference.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_void/is_void.cc: Likewise.
From-SVN: r91808
2004-12-07 16:40:46 +00:00
GCC Administrator
bddfe34a9e
Daily bump.
...
From-SVN: r91797
2004-12-07 00:16:23 +00:00
Paolo Carlini
e21cb773e5
type_traits: Implement is_reference.
...
2004-12-06 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_reference.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_reference/is_reference.cc: New.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_reference/typedefs.cc: Likewise.
From-SVN: r91779
2004-12-06 15:47:05 +00:00
GCC Administrator
caace8f5df
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91761.2
2004-12-06 00:16:20 +00:00
Richard Henderson
4ec3604f50
* include/ext/malloc_allocator.h: Include cstdlib.
...
From-SVN: r91737
2004-12-04 16:25:18 -08:00
GCC Administrator
f7b279f9d0
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91735.2
2004-12-05 00:16:15 +00:00
Paolo Carlini
493bc46004
type_traits: New.
...
2004-12-04 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: New.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* testsuite/testsuite_tr1.h: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_arithmetic/is_arithmetic.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_arithmetic/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_fundamental/is_fundamental.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_fundamental/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/helper_classes/
true_false_type.cc: Likewise.
* testsuite/tr1/4_metaprogramming/helper_classes/
true_false_type_typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/helper_classes/
typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_array/is_array.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_array/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_floating_point/is_floating_point.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_floating_point/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_integral/is_integral.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_integral/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_void/is_void.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_void/typedefs.cc: Likewise.
From-SVN: r91723
2004-12-04 09:08:42 +00:00
GCC Administrator
1b68ae543c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91710.2
2004-12-04 00:16:24 +00:00
GCC Administrator
dda7d95b7d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91669.2
2004-12-03 00:16:39 +00:00
GCC Administrator
2cf034d2a8
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91599.2
2004-12-02 00:16:19 +00:00
GCC Administrator
29b0a291d4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91548.2
2004-12-01 00:16:37 +00:00
GCC Administrator
1590d64e4f
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91502.2
2004-11-30 00:16:31 +00:00
Paolo Carlini
d1a7222cce
re PR libstdc++/18654 (Shrink-to-fit std::string::reserve() calls can reallocate & copy string contents unnecessarily)
...
2004-11-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18654
* include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
do not round to pagesize.
* testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.
From-SVN: r91466
2004-11-29 12:59:53 +00:00
GCC Administrator
9302338c8c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91441.2
2004-11-29 00:17:14 +00:00
GCC Administrator
69b7944b0d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91403.2
2004-11-28 00:16:25 +00:00
Paolo Carlini
84477ec3e8
re PR libstdc++/18690 (tr1/utility is broken on darwin)
...
2004-11-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18690
* include/tr1/utility (get(pair), get(const pair)): Change
occurrences of _I to _Int.
From-SVN: r91390
2004-11-27 20:25:11 +00:00
GCC Administrator
23d5143200
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91358.2
2004-11-27 00:16:36 +00:00
Paolo Carlini
75a25e3f65
DR 243.
...
2004-11-26 Paolo Carlini <pcarlini@suse.de>
DR 243. get and getline when sentry reports failure [WP]
* include/bits/istream.tcc (istream<>::get, istream<>::getline):
Store a null character only if the array has a non-zero size.
* src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
Likewise.
* testsuite/27_io/basic_istream/get/char/3.cc: New.
* testsuite/27_io/basic_istream/getline/char/6.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
* docs/html/ext/howto.html: Add an entry for DR 243.
* testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
From-SVN: r91348
2004-11-26 20:34:27 +00:00
GCC Administrator
3a4e7e8f5d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91312.2
2004-11-26 00:16:19 +00:00
GCC Administrator
5f0a713c2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91262.2
2004-11-25 00:16:28 +00:00
Kelley Cook
a38fb0a7a4
Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
...
2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
From-SVN: r91197
2004-11-24 21:12:26 +00:00
Nathan Myers
eacf72d384
2004-11-24 Nathan Myers <ncm@cantrip.org>
...
* include/bits/streambuf_iterator.h
(istreambuf_iterator<>::operator++(), operator++(int)): Don't
check unnecessarily the return value of _M_sbuf->sbumpc().
From-SVN: r91176
2004-11-24 17:01:22 +00:00
Benjamin Kosnik
f2ede5d621
[multiple changes]
...
2004-11-24 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (tr1_headers): Add utility, functional.
* include/Makefile.in: Regenerate.
2004-11-24 Chris Jefferson <chris@bubblescope.net>
* include/tr1/tuple(operator!=): Change operator
definition to match (draft) technical report.
(operator>): Same.
(operator<=): Same.
(operator>=): Same.
(ref): Move to include/tr1/functional.
(cref): Same.
(tuple_size<pair>): Move to include/tr1/utility.
(tuple_element<,pair>): Same.
* include/tr1/functional: New.
* include/tr1/utility: New.
* testsuite/tr1/6_container/utility/pair.cc: New.
From-SVN: r91171
2004-11-24 16:04:47 +00:00
Benjamin Kosnik
0aa06b18fc
doxygroups.cc: Add std::tr1 namespace.
...
2004-11-23 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
* docs/doxygen/run_doxygen: Renames for std::tr1.
* docs/doxygen/user.cfg.in: Add cxxabi.h.
* include/bits/*.tcc: Add file markup.
* include/bits/allocator.h: Add link to allocator.html.
* include/bits/atomicity.h: Add file markup.
* include/bits/concurrence.h: Same.
* include/bits/functexcept.h: Same.
* include/ext*: Adjust file markup, remove GCC3 bits.
* include/std/*: Adjust file markup, remove bits about renamed files.
* libsupc++/cxxabi.h: Add file markup.
* testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
From-SVN: r91135
2004-11-24 04:11:23 +00:00
GCC Administrator
8ff4764d74
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91130.2
2004-11-24 00:16:19 +00:00
Benjamin Kosnik
00aca6e83a
locale_facets.h (isspace, [...]): Add doxygen markup.
...
2004-11-22 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (isspace, isprint, isupper,
islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
toupper, tolower): Add doxygen markup.
(codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
time_get_byname, time_put_byname, moneypunct_byname,
messages_byname): Same.
* include/std/std_fstream.h: Remove superfluous markup.
* include/std/std_sstream.h: Same.
* include/std/std_streambuf.h: Same.
* include/ext/enc_filebuf.h: Adjust markup.
* include/ext/stdio_filebuf.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/bits/codecvt.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
* include/tr1/array: Add markup.
* include/tr1/tuple: Same.
* docs/doxygen/run_doxygen: Print arguments.
* docs/doxygen/user.cfg.in: Tweaks.
From-SVN: r91080
2004-11-23 09:18:41 +00:00
GCC Administrator
9f699c84e2
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91054.2
2004-11-23 00:22:02 +00:00
GCC Administrator
7fb3dd8b75
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90993.2
2004-11-22 00:16:21 +00:00
Jonathan Wakely
20fff8cd7c
basic_string.h, [...]: Doxygen fixes.
...
2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/basic_string.h, include/bits/locale_classes.h,
include/bits/valarray_after.h, include/bits/valarray_before.h,
include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
include/std/std_functional.h, include/std/std_memory.h,
include/std/std_numeric.h: Doxygen fixes.
From-SVN: r90979
2004-11-21 13:16:24 +00:00
GCC Administrator
484d0bd6fe
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90973.2
2004-11-21 00:16:14 +00:00
GCC Administrator
633ce8953a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90946.2
2004-11-20 00:16:27 +00:00
Paolo Carlini
f4e5280b48
[multiple changes]
...
2004-11-19 Chris Jefferson <chris@bubblescope.net>
* include/bits/stl_list.h (list::back, list::back const):
Don't decrement temporary.
2004-11-19 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_deque.h (deque::front, deque::front const,
deque::back, deque::back const): Slightly tweak for stylistic
consistency.
From-SVN: r90917
2004-11-19 12:44:09 +00:00
GCC Administrator
fda7c51555
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90889.2
2004-11-19 00:16:31 +00:00
Paolo Carlini
899671904c
locale_facets.tcc (num_get<>::do_get(void*&)): If the failbit is set, don't set it again.
...
2004-11-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get(void*&)):
If the failbit is set, don't set it again.
(money_get<>::_M_extract): Minor stylistic tweak: consistently
with the other functions, take care of eofbit at the end.
From-SVN: r90861
2004-11-18 13:38:09 +00:00
Paolo Carlini
14492f0b1e
DR 434.
...
2004-11-18 Paolo Carlini <pcarlini@suse.de>
DR 434. bitset::to_string() hard to use [Ready]
* include/std/std_bitset.h (to_string): Add three overloads, taking
fewer template arguments.
* docs/html/ext/howto.html: Add an entry for DR 434.
* testsuite/23_containers/bitset/to_string/1.cc: New.
From-SVN: r90854
2004-11-18 09:52:57 +00:00
GCC Administrator
d596ed22a9
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90836.2
2004-11-18 00:17:18 +00:00
Paolo Carlini
e9fb72e85f
istream.tcc (getline(basic_istream<>&, basic_string<>&, _CharT)): Remove temporary kludge for libstdc++/15002.
...
2004-11-17 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&,
_CharT)): Remove temporary kludge for libstdc++/15002.
* include/std/std_streambuf.h (class basic_streambuf): Declare
getline(basic_istream<>&, basic_string<>&, _CharT) as friend.
* include/bits/basic_string.h (getline(basic_istream<>&,
basic_string<>&, _CharT)): Declare optimized specializations for
char and wchar_t, using protected members of basic_streambuf.
* src/istream.cc: Define the latter.
From-SVN: r90801
2004-11-17 09:04:14 +00:00
GCC Administrator
f4e649d2d2
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90777.2
2004-11-17 00:16:34 +00:00
GCC Administrator
0475415888
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90707.2
2004-11-16 00:16:23 +00:00
Paolo Carlini
2bf8accc31
streambuf.tcc (__copy_streambufs): Provide a generic version of the function...
...
2004-11-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf.tcc (__copy_streambufs): Provide
a generic version of the function, not using the protected
members of basic_streambuf.
* include/std/std_streambuf.h (__copy_streambufs): Declare
optimized specializations for char and wchar_t.
* src/streambuf.cc: New file, define the latter.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r90701
2004-11-15 23:33:05 +00:00
GCC Administrator
4d6079e03d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90644.2
2004-11-15 00:16:47 +00:00
Paolo Carlini
509228203e
streambuf_iterator.h (istreambuf_iterator::_M_get): Slightly tweak for clarity (also leads to measurably better code).
...
2004-11-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
Slightly tweak for clarity (also leads to measurably better code).
From-SVN: r90636
2004-11-14 22:54:24 +00:00
GCC Administrator
f7b62acd2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90604.2
2004-11-14 00:16:19 +00:00
GCC Administrator
7a4702d25b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90563.2
2004-11-13 00:16:33 +00:00
GCC Administrator
49a94e56d8
Daily bump.
...
From-SVN: r90513
2004-11-12 00:16:11 +00:00
GCC Administrator
ed50f1785b
Daily bump.
...
From-SVN: r90462
2004-11-11 00:16:33 +00:00
GCC Administrator
df2ae6e216
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90377.2
2004-11-10 00:16:21 +00:00
Paolo Carlini
cf5c6c8d31
locale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing end iterators.
...
2004-11-09 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
time_get<>::do_get_monthname): Absolutely avoid dereferencing
end iterators.
* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
Minor tweak.
From-SVN: r90341
2004-11-09 12:49:20 +00:00
GCC Administrator
d9e75e864c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90322.2
2004-11-09 00:16:36 +00:00
Paolo Carlini
15fb0dbeb7
streambuf_iterator.h (class istreambuf_iterator): Consistently use _M_c to cache the current char...
...
2004-11-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (class istreambuf_iterator):
Consistently use _M_c to cache the current char, i.e., not only
when operator++(int) is involved; change _M_c to mutable.
(_M_get()): Always save the return value of _M_sbuf->sgetc() into
_M_c.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
(long standing) typo.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
From-SVN: r90275
2004-11-08 17:55:54 +00:00
Paolo Carlini
adb31ad60d
istream.tcc (getline(char_type*, streamsize, char_type), [...]): Restore a generic version of the functions...
...
2004-11-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (getline(char_type*, streamsize,
char_type), ignore(streamsize), ignore(streamsize, int_type)):
Restore a generic version of the functions, not using the
protected members of basic_streambuf.
* include/std/std_istream.h (getline(char_type*, streamsize,
char_type), ignore(streamsize), ignore(streamsize, int_type)):
Declare optimized specializations for char and wchar_t.
* src/istream.cc: New file, define the latter.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r90268
2004-11-08 15:46:28 +00:00
GCC Administrator
1a89f1b506
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90249.2
2004-11-08 00:16:15 +00:00
GCC Administrator
d5d9e59836
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90213.2
2004-11-07 00:16:18 +00:00
GCC Administrator
bc54e9de0c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90153.2
2004-11-06 00:16:42 +00:00
Benjamin Kosnik
6309eefc3d
re PR libstdc++/17218 (unknown subjects in generated libstdc++ manpages)
...
2004-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/17218
PR libstdc++/17223
* docs/doxygen/filter: Remove.
* docs/doxygen/filter.sed: Remove.
* docs/doxygen/mainpage.html: Add link to functions.
* docs/doxygen/run_doxygen: Changes due to new source filtering.
* docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
* include/bits/allocator.h: Tweaks for doxygen.
* include/bits/char_traits.h: Same.
* include/bits/codecvt.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/locale_facets.h: Same.
* include/ext/array_allocator.h: Same.
* include/ext/debug_allocator.h: Same.
* include/ext/malloc_allocator.h: Same.
* include/ext/mt_allocator.h: Same.
* include/ext/new_allocator.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/std/std_memory.h: Same.
* include/tr1/array: Same.
* include/tr1/tuple: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.
From-SVN: r90137
2004-11-05 19:58:03 +00:00
GCC Administrator
30a8b5f807
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90097.2
2004-11-05 00:16:46 +00:00
Paolo Carlini
eba7452ba8
locale_facets.tcc (num_get<>::do_get(bool&)): Evaluate __beg == __end the exact strict minimum number of times.
...
2004-11-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
Evaluate __beg == __end the exact strict minimum number of times.
From-SVN: r90058
2004-11-04 11:29:30 +00:00
GCC Administrator
76969785b4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90044.2
2004-11-04 00:16:19 +00:00
Jonathan Wakely
cb1d5dbaeb
stl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the prologue.
...
2004-11-03 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/stl_numeric.h (partial_sum, adjacent_difference):
Avoid dereferencing two times __first in the prologue.
From-SVN: r90038
2004-11-03 22:22:34 +00:00
Paolo Carlini
dae62ba8fd
stl_numeric.h: Trivial formatting fixes.
...
2004-11-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_numeric.h: Trivial formatting fixes.
From-SVN: r90024
2004-11-03 10:14:24 +00:00