b9c84e9503
* include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New template alias. (_Hashtable<>::__fwd_value_for): New. (_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template parameter. (_Hashtable<>::_M_assign<>): Add _Ht template parameter. (_Hashtable<>::operator=(const _Hashtable<>&)): Adapt. (_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept with std::move. (_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt. (_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)): Adapt. (_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)): Adapt. * testsuite/23_containers/unordered_set/92124.cc: New. From-SVN: r280028
85 lines
3.1 KiB
Plaintext
85 lines
3.1 KiB
Plaintext
2020-01-09 François Dumont <fdumont@gcc.gnu.org>
|
||
|
||
PR libstdc++/92124
|
||
* include/bits/hashtable.h (_Hashtable<>::__alloc_node_gen_t): New
|
||
template alias.
|
||
(_Hashtable<>::__fwd_value_for): New.
|
||
(_Hashtable<>::_M_assign_elements<>): Remove _NodeGenerator template
|
||
parameter.
|
||
(_Hashtable<>::_M_assign<>): Add _Ht template parameter.
|
||
(_Hashtable<>::operator=(const _Hashtable<>&)): Adapt.
|
||
(_Hashtable<>::_M_move_assign): Adapt. Replace std::move_if_noexcept
|
||
with std::move.
|
||
(_Hashtable<>::_Hashtable(const _Hashtable&)): Adapt.
|
||
(_Hashtable<>::_Hashtable(const _Hashtable&, const allocator_type&)):
|
||
Adapt.
|
||
(_Hashtable<>::_Hashtable(_Hashtable&&, const allocator_type&)):
|
||
Adapt.
|
||
* testsuite/23_containers/unordered_set/92124.cc: New.
|
||
|
||
2020-01-08 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/93201
|
||
* src/c++17/fs_ops.cc (do_remove_all): New function implementing more
|
||
detailed error reporting for remove_all. Check result of recursive
|
||
call before incrementing iterator.
|
||
(remove_all(const path&), remove_all(const path&, error_code&)): Use
|
||
do_remove_all.
|
||
* src/filesystem/ops.cc (remove_all(const path&, error_code&)): Check
|
||
result of recursive call before incrementing iterator.
|
||
* testsuite/27_io/filesystem/operations/remove_all.cc: Check errors
|
||
are reported correctly.
|
||
* testsuite/experimental/filesystem/operations/remove_all.cc: Likewise.
|
||
|
||
2020-01-07 Thomas Rodgers <trodgers@redhat.com>
|
||
|
||
* include/std/condition_variable
|
||
(condition_variable_any::wait_on): Rename to match current draft
|
||
standard.
|
||
(condition_variable_any::wait_on_until): Likewise.
|
||
(condition_variable_any::wait_on_for): Likewise.
|
||
* testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc:
|
||
Adjust tests to account for renamed methods.
|
||
|
||
2020-01-07 François Dumont <fdumont@gcc.gnu.org>
|
||
|
||
PR libstdc++/92124
|
||
* include/bits/stl_tree.h
|
||
(_Rb_tree<>::_M_move_assign(_Rb_tree&, false_type)): Replace
|
||
std::move_if_noexcept by std::move.
|
||
* testsuite/23_containers/map/92124.cc: New.
|
||
* testsuite/23_containers/set/92124.cc: New.
|
||
|
||
2020-01-06 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* include/std/stop_token (stop_token): Remove operator!= (LWG 3254).
|
||
(stop_source): Likewise (LWG 3362).
|
||
* testsuite/30_threads/stop_token/stop_source.cc: Test equality
|
||
comparisons.
|
||
|
||
* include/bits/stl_algobase.h (__is_byte_iter, __min_cmp)
|
||
(lexicographical_compare_three_way): Do not depend on
|
||
__cpp_lib_concepts.
|
||
* include/std/version (__cpp_lib_three_way_comparison): Only define
|
||
when __cpp_lib_concepts is defined.
|
||
* libsupc++/compare (__cpp_lib_three_way_comparison): Likewise.
|
||
|
||
2020-01-03 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* include/bits/stl_algobase.h (lexicographical_compare_three_way):
|
||
Only define four-argument overload when __cpp_lib_concepts is defined.
|
||
|
||
2020-01-01 John David Anglin <danglin@gcc.gnu.org>
|
||
|
||
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
|
||
|
||
2020-01-01 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
Update copyright years.
|
||
|
||
Copyright (C) 2020 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|