]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/ChangeLog
libstdc++: Fix whitespace in ChangeLog-2019
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
d574c8aa
JW
12020-01-09 Jonathan Wakely <jwakely@redhat.com>
2
160e95dc
JW
3 PR libstdc++/93205
4 * include/bits/random.h (operator>>): Check stream operation succeeds.
5 * include/bits/random.tcc (operator<<): Remove redundant __ostream_type
6 typedefs.
7 (operator>>): Remove redundant __istream_type typedefs. Check stream
8 operations succeed.
9 (__extract_params): New function to fill a vector from a stream.
10 * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line.
11
d574c8aa
JW
12 PR libstdc++/93208
13 * config/abi/pre/gnu.ver: Add new exports.
14 * include/std/memory_resource (memory_resource::~memory_resource()):
15 Do not define inline.
16 (monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise.
17 * src/c++17/memory_resource.cc (memory_resource::~memory_resource()):
18 Define.
19 (monotonic_buffer_resource::~monotonic_buffer_resource()): Define.
20 * testsuite/20_util/monotonic_buffer_resource/93208.cc: New test.
21
b9c84e95
FD
222020-01-09 François Dumont <fdumont@gcc.gnu.org>
23
24 PR libstdc++/92124
25 * include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New
26 template alias.
27 (_Hashtable<>::__fwd_value_for): New.
28 (_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template
29 parameter.
30 (_Hashtable<>::_M_assign<>): Add _Ht template parameter.
31 (_Hashtable<>::operator=(const _Hashtable<>&)): Adapt.
32 (_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept
33 with std::move.
34 (_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt.
35 (_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)):
36 Adapt.
37 (_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)):
38 Adapt.
39 * testsuite/23_containers/unordered_set/92124.cc: New.
40
fff148b7
JW
412020-01-08 Jonathan Wakely <jwakely@redhat.com>
42
43 PR libstdc++/93201
44 * src/c++17/fs_ops.cc (do_remove_all): New function implementing more
45 detailed error reporting for remove_all. Check result of recursive
46 call before incrementing iterator.
47 (remove_all(const path&), remove_all(const path&, error_code&)): Use
48 do_remove_all.
49 * src/filesystem/ops.cc (remove_all(const path&, error_code&)): Check
50 result of recursive call before incrementing iterator.
51 * testsuite/27_io/filesystem/operations/remove_all.cc: Check errors
52 are reported correctly.
53 * testsuite/experimental/filesystem/operations/remove_all.cc: Likewise.
54
9e3c1eb7
TR
552020-01-07 Thomas Rodgers <trodgers@redhat.com>
56
57 * include/std/condition_variable
58 (condition_variable_any::wait_on): Rename to match current draft
59 standard.
60 (condition_variable_any::wait_on_until): Likewise.
61 (condition_variable_any::wait_on_for): Likewise.
62 * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc:
63 Adjust tests to account for renamed methods.
64
6af8819b
FD
652020-01-07 François Dumont <fdumont@gcc.gnu.org>
66
67 PR libstdc++/92124
68 * include/bits/stl_tree.h
69 (_Rb_tree<>::_M_move_assign(_Rb_tree&, false_type)): Replace
70 std::move_if_noexcept by std::move.
71 * testsuite/23_containers/map/92124.cc: New.
72 * testsuite/23_containers/set/92124.cc: New.
73
f31a99f7
JW
742020-01-06 Jonathan Wakely <jwakely@redhat.com>
75
a4a1f965
JW
76 * include/std/stop_token (stop_token): Remove operator!= (LWG 3254).
77 (stop_source): Likewise (LWG 3362).
78 * testsuite/30_threads/stop_token/stop_source.cc: Test equality
79 comparisons.
80
f31a99f7
JW
81 * include/bits/stl_algobase.h (__is_byte_iter, __min_cmp)
82 (lexicographical_compare_three_way): Do not depend on
83 __cpp_lib_concepts.
84 * include/std/version (__cpp_lib_three_way_comparison): Only define
85 when __cpp_lib_concepts is defined.
86 * libsupc++/compare (__cpp_lib_three_way_comparison): Likewise.
87
b4e70137
JW
882020-01-03 Jonathan Wakely <jwakely@redhat.com>
89
90 * include/bits/stl_algobase.h (lexicographical_compare_three_way):
91 Only define four-argument overload when __cpp_lib_concepts is defined.
92
a8497ec6
JDA
932020-01-01 John David Anglin <danglin@gcc.gnu.org>
94
95 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
96
8d9254fc 972020-01-01 Jakub Jelinek <jakub@redhat.com>
5624e564
JJ
98
99 Update copyright years.
b4df5e92 100\f
8d9254fc 101Copyright (C) 2020 Free Software Foundation, Inc.
b4df5e92
JW
102
103Copying and distribution of this file, with or without modification,
104are permitted in any medium without royalty provided the copyright
105notice and this notice are preserved.