1 2020-01-10 Jonathan Wakely <jwakely@redhat.com>
4 * include/bits/streambuf_iterator.h (istreambuf_iterator): Make type
5 of base class independent of __cplusplus value.
6 [__cplusplus < 201103L] (istreambuf_iterator::reference): Override the
7 type defined in the base class
8 * testsuite/24_iterators/istreambuf_iterator/92285.cc: New test.
9 * testsuite/24_iterators/istreambuf_iterator/requirements/
10 base_classes.cc: Adjust expected base class for C++98.
12 2020-01-09 Olivier Hainque <hainque@adacore.com>
14 * doc/xml/manual/appendix_contributing.xml: Document _C2
15 as a reserved identifier, by VxWorks.
16 * include/bits/stl_map.h: Rename _C2 template typenames as _Cmp2.
17 * include/bits/stl_multimap.h: Likewise.
19 2020-01-09 Jonathan Wakely <jwakely@redhat.com>
21 * include/ext/extptr_allocator.h (_ExtPtr_allocator::operator==)
22 (_ExtPtr_allocator::operator!=): Add missing const qualifiers.
23 * include/ext/pointer.h (readable_traits<_Pointer_adapter<S>>): Add
24 partial specialization to disambiguate the two constrained
27 * include/experimental/type_traits (experimental::is_pod_v): Disable
28 -Wdeprecated-declarations warnings around reference to std::is_pod.
29 * include/std/type_traits (is_pod_v): Likewise.
30 * testsuite/18_support/max_align_t/requirements/2.cc: Also check
31 is_standard_layout and is_trivial. Do not check is_pod for C++20.
32 * testsuite/20_util/is_pod/requirements/explicit_instantiation.cc:
33 Add -Wno-deprecated for C++20.
34 * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
35 * testsuite/20_util/is_pod/value.cc: Likewise.
36 * testsuite/experimental/type_traits/value.cc: Likewise.
38 2020-01-09 JeanHeyd "ThePhD" Meneide <phdofthehouse@gmail.com>
40 * include/bits/c++config (_GLIBCXX20_DEPRECATED): Add new macro.
41 * include/std/type_traits (is_pod, is_pod_v): Deprecate for C++20.
42 * testuite/20_util/is_pod/deprecated-2a.cc: New test.
44 2020-01-09 Jonathan Wakely <jwakely@redhat.com>
47 * include/bits/random.h (operator>>): Check stream operation succeeds.
48 * include/bits/random.tcc (operator<<): Remove redundant __ostream_type
50 (operator>>): Remove redundant __istream_type typedefs. Check stream
52 (__extract_params): New function to fill a vector from a stream.
53 * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line.
56 * config/abi/pre/gnu.ver: Add new exports.
57 * include/std/memory_resource (memory_resource::~memory_resource()):
59 (monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise.
60 * src/c++17/memory_resource.cc (memory_resource::~memory_resource()):
62 (monotonic_buffer_resource::~monotonic_buffer_resource()): Define.
63 * testsuite/20_util/monotonic_buffer_resource/93208.cc: New test.
65 2020-01-09 François Dumont <fdumont@gcc.gnu.org>
68 * include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New
70 (_Hashtable<>::__fwd_value_for): New.
71 (_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template
73 (_Hashtable<>::_M_assign<>): Add _Ht template parameter.
74 (_Hashtable<>::operator=(const _Hashtable<>&)): Adapt.
75 (_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept
77 (_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt.
78 (_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)):
80 (_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)):
82 * testsuite/23_containers/unordered_set/92124.cc: New.
84 2020-01-08 Jonathan Wakely <jwakely@redhat.com>
87 * src/c++17/fs_ops.cc (do_remove_all): New function implementing more
88 detailed error reporting for remove_all. Check result of recursive
89 call before incrementing iterator.
90 (remove_all(const path&), remove_all(const path&, error_code&)): Use
92 * src/filesystem/ops.cc (remove_all(const path&, error_code&)): Check
93 result of recursive call before incrementing iterator.
94 * testsuite/27_io/filesystem/operations/remove_all.cc: Check errors
95 are reported correctly.
96 * testsuite/experimental/filesystem/operations/remove_all.cc: Likewise.
98 2020-01-07 Thomas Rodgers <trodgers@redhat.com>
100 * include/std/condition_variable
101 (condition_variable_any::wait_on): Rename to match current draft
103 (condition_variable_any::wait_on_until): Likewise.
104 (condition_variable_any::wait_on_for): Likewise.
105 * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc:
106 Adjust tests to account for renamed methods.
108 2020-01-07 François Dumont <fdumont@gcc.gnu.org>
111 * include/bits/stl_tree.h
112 (_Rb_tree<>::_M_move_assign(_Rb_tree&, false_type)): Replace
113 std::move_if_noexcept by std::move.
114 * testsuite/23_containers/map/92124.cc: New.
115 * testsuite/23_containers/set/92124.cc: New.
117 2020-01-06 Jonathan Wakely <jwakely@redhat.com>
119 * include/std/stop_token (stop_token): Remove operator!= (LWG 3254).
120 (stop_source): Likewise (LWG 3362).
121 * testsuite/30_threads/stop_token/stop_source.cc: Test equality
124 * include/bits/stl_algobase.h (__is_byte_iter, __min_cmp)
125 (lexicographical_compare_three_way): Do not depend on
127 * include/std/version (__cpp_lib_three_way_comparison): Only define
128 when __cpp_lib_concepts is defined.
129 * libsupc++/compare (__cpp_lib_three_way_comparison): Likewise.
131 2020-01-03 Jonathan Wakely <jwakely@redhat.com>
133 * include/bits/stl_algobase.h (lexicographical_compare_three_way):
134 Only define four-argument overload when __cpp_lib_concepts is defined.
136 2020-01-01 John David Anglin <danglin@gcc.gnu.org>
138 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
140 2020-01-01 Jakub Jelinek <jakub@redhat.com>
142 Update copyright years.
144 Copyright (C) 2020 Free Software Foundation, Inc.
146 Copying and distribution of this file, with or without modification,
147 are permitted in any medium without royalty provided the copyright
148 notice and this notice are preserved.