d4a760d8c4
15 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Jonathan Wakely
|
b744bf4e18 |
PR78134 fix return types of heterogeneous lookup functions
PR libstdc++/78134 * include/bits/stl_map.h (map::lower_bound, map::upper_bound) (map::equal_range): Fix return type of heterogeneous overloads. * include/bits/stl_multimap.h (multimap::lower_bound) (multimap::upper_bound, multimap::equal_range): Likewise. * include/bits/stl_multiset.h (multiset::lower_bound) (multiset::upper_bound, multiset::equal_range): Likewise. * include/bits/stl_set.h (set::lower_bound, set::upper_bound) (set::equal_range): Likewise. * testsuite/23_containers/map/operations/2.cc * testsuite/23_containers/multimap/operations/2.cc * testsuite/23_containers/multiset/operations/2.cc * testsuite/23_containers/set/operations/2.cc From-SVN: r244318 |
||
Jakub Jelinek
|
cbe34bb5ed |
Update copyright years.
From-SVN: r243994 |
||
Paolo Carlini
|
a9260b7eb6 |
57619.C: Rename to 57619.cc.
2016-10-17 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/unordered_map/insert/57619.C: Rename to 57619.cc. * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise. 2016-10-17 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/array/capacity/empty.cc: Remove 'test' variables. * testsuite/array/capacity/max_size.cc: Likewise. * testsuite/array/capacity/size.cc: Likewise. * testsuite/array/comparison_operators/equal.cc: Likewise. * testsuite/array/comparison_operators/greater.cc: Likewise. * testsuite/array/comparison_operators/greater_or_equal.cc: Likewise. * testsuite/array/comparison_operators/less.cc: Likewise. * testsuite/array/comparison_operators/less_or_equal.cc: Likewise. * testsuite/array/comparison_operators/not_equal.cc: Likewise. * testsuite/array/element_access/54388.cc: Likewise. * testsuite/array/element_access/at_out_of_range.cc: Likewise. * testsuite/array/element_access/back.cc: Likewise. * testsuite/array/element_access/data.cc: Likewise. * testsuite/array/element_access/front.cc: Likewise. * testsuite/array/iterators/end_is_one_past.cc: Likewise. * testsuite/array/requirements/contiguous.cc: Likewise. * testsuite/array/requirements/fill.cc: Likewise. * testsuite/array/requirements/member_swap.cc: Likewise. * testsuite/array/requirements/zero_sized_arrays.cc: Likewise. * testsuite/array/specialized_algorithms/swap.cc: Likewise. * testsuite/array/tuple_interface/tuple_element.cc: Likewise. * testsuite/array/tuple_interface/tuple_element_cpp14.cc: Likewise. * testsuite/array/tuple_interface/tuple_size.cc: Likewise. * testsuite/bitset/all/1.cc: Likewise. * testsuite/bitset/cons/1.cc: Likewise. * testsuite/bitset/cons/16020.cc: Likewise. * testsuite/bitset/cons/2.cc: Likewise. * testsuite/bitset/cons/3.cc: Likewise. * testsuite/bitset/cons/50268.cc: Likewise. * testsuite/bitset/cons/6282.cc: Likewise. * testsuite/bitset/cons/dr1325-2.cc: Likewise. * testsuite/bitset/cons/dr396.cc: Likewise. * testsuite/bitset/ext/15361.cc: Likewise. * testsuite/bitset/input/1.cc: Likewise. * testsuite/bitset/operations/1.cc: Likewise. * testsuite/bitset/operations/13838.cc: Likewise. * testsuite/bitset/operations/2.cc: Likewise. * testsuite/bitset/test/1.cc: Likewise. * testsuite/bitset/to_string/1.cc: Likewise. * testsuite/bitset/to_string/dr396.cc: Likewise. * testsuite/bitset/to_ullong/1.cc: Likewise. * testsuite/bitset/to_ulong/1.cc: Likewise. * testsuite/deque/allocator/copy.cc: Likewise. * testsuite/deque/allocator/copy_assign.cc: Likewise. * testsuite/deque/allocator/ext_ptr.cc: Likewise. * testsuite/deque/allocator/minimal.cc: Likewise. * testsuite/deque/allocator/move.cc: Likewise. * testsuite/deque/allocator/move_assign.cc: Likewise. * testsuite/deque/allocator/swap.cc: Likewise. * testsuite/deque/capacity/29134-2.cc: Likewise. * testsuite/deque/capacity/29134.cc: Likewise. * testsuite/deque/capacity/moveable.cc: Likewise. * testsuite/deque/capacity/resize_size.cc: Likewise. * testsuite/deque/capacity/shrink_to_fit.cc: Likewise. * testsuite/deque/cons/1.cc: Likewise. * testsuite/deque/cons/2.cc: Likewise. * testsuite/deque/cons/assign/1.cc: Likewise. * testsuite/deque/cons/cons_size.cc: Likewise. * testsuite/deque/cons/moveable.cc: Likewise. * testsuite/deque/modifiers/erase/1.cc: Likewise. * testsuite/deque/modifiers/erase/2.cc: Likewise. * testsuite/deque/modifiers/erase/3.cc: Likewise. * testsuite/deque/modifiers/erase/moveable.cc: Likewise. * testsuite/deque/modifiers/moveable.cc: Likewise. * testsuite/deque/modifiers/push_back/49836.cc: Likewise. * testsuite/deque/modifiers/push_front/49836.cc: Likewise. * testsuite/deque/modifiers/swap/1.cc: Likewise. * testsuite/deque/modifiers/swap/2.cc: Likewise. * testsuite/deque/modifiers/swap/3.cc: Likewise. * testsuite/deque/operators/1.cc: Likewise. * testsuite/deque/operators/2.cc: Likewise. * testsuite/forward_list/allocator/copy.cc: Likewise. * testsuite/forward_list/allocator/copy_assign.cc: Likewise. * testsuite/forward_list/allocator/ext_ptr.cc: Likewise. * testsuite/forward_list/allocator/minimal.cc: Likewise. * testsuite/forward_list/allocator/move.cc: Likewise. * testsuite/forward_list/allocator/move_assign.cc: Likewise. * testsuite/forward_list/allocator/swap.cc: Likewise. * testsuite/forward_list/capacity/1.cc: Likewise. * testsuite/forward_list/capacity/resize_size.cc: Likewise. * testsuite/forward_list/comparable.cc: Likewise. * testsuite/forward_list/cons/1.cc: Likewise. * testsuite/forward_list/cons/2.cc: Likewise. * testsuite/forward_list/cons/3.cc: Likewise. * testsuite/forward_list/cons/4.cc: Likewise. * testsuite/forward_list/cons/5.cc: Likewise. * testsuite/forward_list/cons/6.cc: Likewise. * testsuite/forward_list/cons/7.cc: Likewise. * testsuite/forward_list/cons/8.cc: Likewise. * testsuite/forward_list/cons/9.cc: Likewise. * testsuite/forward_list/cons/cons_size.cc: Likewise. * testsuite/forward_list/cons/moveable.cc: Likewise. * testsuite/forward_list/debug/clear.cc: Likewise. * testsuite/forward_list/debug/construct4_neg.cc: Likewise. * testsuite/forward_list/debug/erase_after1_neg.cc: Likewise. * testsuite/forward_list/debug/move_assign_neg.cc: Likewise. * testsuite/forward_list/debug/move_constructor.cc: Likewise. * testsuite/forward_list/debug/move_neg.cc: Likewise. * testsuite/forward_list/debug/splice_after.cc: Likewise. * testsuite/forward_list/debug/swap.cc: Likewise. * testsuite/forward_list/modifiers/1.cc: Likewise. * testsuite/forward_list/modifiers/2.cc: Likewise. * testsuite/forward_list/modifiers/3.cc: Likewise. * testsuite/forward_list/modifiers/4.cc: Likewise. * testsuite/forward_list/modifiers/5.cc: Likewise. * testsuite/forward_list/modifiers/6.cc: Likewise. * testsuite/forward_list/operations/1.cc: Likewise. * testsuite/forward_list/operations/2.cc: Likewise. * testsuite/forward_list/operations/3.cc: Likewise. * testsuite/forward_list/operations/4.cc: Likewise. * testsuite/forward_list/operations/5.cc: Likewise. * testsuite/forward_list/operations/6.cc: Likewise. * testsuite/forward_list/operations/7.cc: Likewise. * testsuite/forward_list/operations/remove_freed.cc: Likewise. * testsuite/list/61347.cc: Likewise. * testsuite/list/allocator/copy.cc: Likewise. * testsuite/list/allocator/copy_assign.cc: Likewise. * testsuite/list/allocator/minimal.cc: Likewise. * testsuite/list/allocator/move.cc: Likewise. * testsuite/list/allocator/move_assign.cc: Likewise. * testsuite/list/allocator/swap.cc: Likewise. * testsuite/list/capacity/1.h: Likewise. * testsuite/list/capacity/29134.cc: Likewise. * testsuite/list/capacity/resize_size.cc: Likewise. * testsuite/list/cons/1.h: Likewise. * testsuite/list/cons/2.h: Likewise. * testsuite/list/cons/3.h: Likewise. * testsuite/list/cons/4.h: Likewise. * testsuite/list/cons/5.h: Likewise. * testsuite/list/cons/6.h: Likewise. * testsuite/list/cons/7.h: Likewise. * testsuite/list/cons/8.h: Likewise. * testsuite/list/cons/9.h: Likewise. * testsuite/list/cons/cons_size.cc: Likewise. * testsuite/list/cons/moveable.h: Likewise. * testsuite/list/debug/invalidation/1.cc: Likewise. * testsuite/list/debug/invalidation/2.cc: Likewise. * testsuite/list/debug/invalidation/3.cc: Likewise. * testsuite/list/debug/invalidation/4.cc: Likewise. * testsuite/list/modifiers/1.h: Likewise. * testsuite/list/modifiers/2.h: Likewise. * testsuite/list/modifiers/3.h: Likewise. * testsuite/list/modifiers/insert/25288.h: Likewise. * testsuite/list/modifiers/swap/1.h: Likewise. * testsuite/list/modifiers/swap/2.h: Likewise. * testsuite/list/modifiers/swap/3.h: Likewise. * testsuite/list/operations/1.h: Likewise. * testsuite/list/operations/2.h: Likewise. * testsuite/list/operations/3.h: Likewise. * testsuite/list/operations/4.h: Likewise. * testsuite/list/operations/42352.cc: Likewise. * testsuite/map/allocator/copy.cc: Likewise. * testsuite/map/allocator/copy_assign.cc: Likewise. * testsuite/map/allocator/init-list.cc: Likewise. * testsuite/map/allocator/minimal.cc: Likewise. * testsuite/map/allocator/move.cc: Likewise. * testsuite/map/allocator/move_assign.cc: Likewise. * testsuite/map/allocator/swap.cc: Likewise. * testsuite/map/capacity/29134.cc: Likewise. * testsuite/map/cons/moveable.cc: Likewise. * testsuite/map/debug/construct5_neg.cc: Likewise. * testsuite/map/debug/move_assign_neg.cc: Likewise. * testsuite/map/debug/move_neg.cc: Likewise. * testsuite/map/element_access/1.cc: Likewise. * testsuite/map/element_access/2.cc: Likewise. * testsuite/map/element_access/39901.cc: Likewise. * testsuite/map/init-list.cc: Likewise. * testsuite/map/modifiers/dr130.cc: Likewise. * testsuite/map/modifiers/emplace/1.cc: Likewise. * testsuite/map/modifiers/extract.cc: Likewise. * testsuite/map/modifiers/insert/1.cc: Likewise. * testsuite/map/modifiers/insert/16813.cc: Likewise. * testsuite/map/modifiers/insert/2.cc: Likewise. * testsuite/map/modifiers/insert/3.cc: Likewise. * testsuite/map/modifiers/insert/4.cc: Likewise. * testsuite/map/modifiers/insert/5.cc: Likewise. * testsuite/map/modifiers/insert_or_assign/1.cc: Likewise. * testsuite/map/modifiers/merge.cc: Likewise. * testsuite/map/modifiers/swap/1.cc: Likewise. * testsuite/map/modifiers/swap/2.cc: Likewise. * testsuite/map/modifiers/swap/3.cc: Likewise. * testsuite/map/modifiers/try_emplace/1.cc: Likewise. * testsuite/map/operations/1.cc: Likewise. * testsuite/map/operations/count.cc: Likewise. * testsuite/map/operators/1_neg.cc: Likewise. * testsuite/map/operators/2.cc: Likewise. * testsuite/multimap/allocator/copy.cc: Likewise. * testsuite/multimap/allocator/copy_assign.cc: Likewise. * testsuite/multimap/allocator/init-list.cc: Likewise. * testsuite/multimap/allocator/minimal.cc: Likewise. * testsuite/multimap/allocator/move.cc: Likewise. * testsuite/multimap/allocator/move_assign.cc: Likewise. * testsuite/multimap/allocator/swap.cc: Likewise. * testsuite/multimap/capacity/29134.cc: Likewise. * testsuite/multimap/cons/moveable.cc: Likewise. * testsuite/multimap/debug/construct5_neg.cc: Likewise. * testsuite/multimap/debug/move_assign_neg.cc: Likewise. * testsuite/multimap/debug/move_neg.cc: Likewise. * testsuite/multimap/init-list.cc: Likewise. * testsuite/multimap/modifiers/dr130.cc: Likewise. * testsuite/multimap/modifiers/emplace/1.cc: Likewise. * testsuite/multimap/modifiers/extract.cc: Likewise. * testsuite/multimap/modifiers/insert/1.cc: Likewise. * testsuite/multimap/modifiers/insert/2.cc: Likewise. * testsuite/multimap/modifiers/insert/22102.cc: Likewise. * testsuite/multimap/modifiers/insert/3.cc: Likewise. * testsuite/multimap/modifiers/insert/4.cc: Likewise. * testsuite/multimap/modifiers/merge.cc: Likewise. * testsuite/multimap/modifiers/swap/1.cc: Likewise. * testsuite/multimap/modifiers/swap/2.cc: Likewise. * testsuite/multimap/modifiers/swap/3.cc: Likewise. * testsuite/multimap/operations/1.cc: Likewise. * testsuite/multimap/operations/count.cc: Likewise. * testsuite/multiset/allocator/copy.cc: Likewise. * testsuite/multiset/allocator/copy_assign.cc: Likewise. * testsuite/multiset/allocator/init-list.cc: Likewise. * testsuite/multiset/allocator/minimal.cc: Likewise. * testsuite/multiset/allocator/move.cc: Likewise. * testsuite/multiset/allocator/move_assign.cc: Likewise. * testsuite/multiset/allocator/swap.cc: Likewise. * testsuite/multiset/capacity/29134.cc: Likewise. * testsuite/multiset/cons/moveable.cc: Likewise. * testsuite/multiset/debug/construct5_neg.cc: Likewise. * testsuite/multiset/debug/invalidation/2.cc: Likewise. * testsuite/multiset/debug/move_assign_neg.cc: Likewise. * testsuite/multiset/debug/move_neg.cc: Likewise. * testsuite/multiset/init-list.cc: Likewise. * testsuite/multiset/modifiers/dr130.cc: Likewise. * testsuite/multiset/modifiers/emplace/1.cc: Likewise. * testsuite/multiset/modifiers/extract.cc: Likewise. * testsuite/multiset/modifiers/insert/1.cc: Likewise. * testsuite/multiset/modifiers/insert/2.cc: Likewise. * testsuite/multiset/modifiers/insert/22102.cc: Likewise. * testsuite/multiset/modifiers/insert/3.cc: Likewise. * testsuite/multiset/modifiers/insert/4.cc: Likewise. * testsuite/multiset/modifiers/merge.cc: Likewise. * testsuite/multiset/modifiers/swap/1.cc: Likewise. * testsuite/multiset/modifiers/swap/2.cc: Likewise. * testsuite/multiset/modifiers/swap/3.cc: Likewise. * testsuite/multiset/operations/1.cc: Likewise. * testsuite/multiset/operations/count.cc: Likewise. * testsuite/priority_queue/moveable.cc: Likewise. * testsuite/queue/moveable.cc: Likewise. * testsuite/set/allocator/copy.cc: Likewise. * testsuite/set/allocator/copy_assign.cc: Likewise. * testsuite/set/allocator/init-list.cc: Likewise. * testsuite/set/allocator/minimal.cc: Likewise. * testsuite/set/allocator/move.cc: Likewise. * testsuite/set/allocator/move_assign.cc: Likewise. * testsuite/set/allocator/swap.cc: Likewise. * testsuite/set/capacity/29134.cc: Likewise. * testsuite/set/cons/moveable.cc: Likewise. * testsuite/set/debug/construct5_neg.cc: Likewise. * testsuite/set/debug/invalidation/2.cc: Likewise. * testsuite/set/debug/move_assign_neg.cc: Likewise. * testsuite/set/debug/move_neg.cc: Likewise. * testsuite/set/init-list.cc: Likewise. * testsuite/set/modifiers/17948.cc: Likewise. * testsuite/set/modifiers/dr130.cc: Likewise. * testsuite/set/modifiers/emplace/1.cc: Likewise. * testsuite/set/modifiers/extract.cc: Likewise. * testsuite/set/modifiers/insert/1.cc: Likewise. * testsuite/set/modifiers/insert/2.cc: Likewise. * testsuite/set/modifiers/insert/3.cc: Likewise. * testsuite/set/modifiers/merge.cc: Likewise. * testsuite/set/modifiers/swap/1.cc: Likewise. * testsuite/set/modifiers/swap/2.cc: Likewise. * testsuite/set/modifiers/swap/3.cc: Likewise. * testsuite/set/operations/1.cc: Likewise. * testsuite/set/operations/count.cc: Likewise. * testsuite/set/operators/1_neg.cc: Likewise. * testsuite/unordered_map/allocator/copy.cc: Likewise. * testsuite/unordered_map/allocator/copy_assign.cc: Likewise. * testsuite/unordered_map/allocator/minimal.cc: Likewise. * testsuite/unordered_map/allocator/move.cc: Likewise. * testsuite/unordered_map/allocator/move_assign.cc: Likewise. * testsuite/unordered_map/allocator/swap.cc: Likewise. * testsuite/unordered_map/cons/moveable.cc: Likewise. * testsuite/unordered_map/debug/construct5_neg.cc: Likewise. * testsuite/unordered_map/debug/move_assign_neg.cc: Likewise. * testsuite/unordered_map/debug/move_neg.cc: Likewise. * testsuite/unordered_map/dr761.cc: Likewise. * testsuite/unordered_map/erase/1.cc: Likewise. * testsuite/unordered_map/erase/24061-map.cc: Likewise. * testsuite/unordered_map/erase/54276.cc: Likewise. * testsuite/unordered_map/hash_policy/dr1189.cc: Likewise. * testsuite/unordered_map/init-list.cc: Likewise. * testsuite/unordered_map/insert/24061-map.cc: Likewise. * testsuite/unordered_map/insert/57619.C: Likewise. * testsuite/unordered_map/insert/array_syntax.cc: Likewise. * testsuite/unordered_map/insert/array_syntax_move.cc: Likewise. * testsuite/unordered_map/insert/map_range.cc: Likewise. * testsuite/unordered_map/insert/map_single.cc: Likewise. * testsuite/unordered_map/insert/map_single_move-1.cc: Likewise. * testsuite/unordered_map/insert/map_single_move-2.cc: Likewise. * testsuite/unordered_map/modifiers/61667.cc: Likewise. * testsuite/unordered_map/modifiers/emplace.cc: Likewise. * testsuite/unordered_map/modifiers/extract.cc: Likewise. * testsuite/unordered_map/modifiers/insert_or_assign.cc: Likewise. * testsuite/unordered_map/modifiers/merge.cc: Likewise. * testsuite/unordered_map/modifiers/reserve.cc: Likewise. * testsuite/unordered_map/modifiers/try_emplace.cc: Likewise. * testsuite/unordered_map/operations/count.cc: Likewise. * testsuite/unordered_map/operators/1.cc: Likewise. * testsuite/unordered_map/operators/2.cc: Likewise. * testsuite/unordered_multimap/allocator/copy.cc: Likewise. * testsuite/unordered_multimap/allocator/copy_assign.cc: Likewise. * testsuite/unordered_multimap/allocator/minimal.cc: Likewise. * testsuite/unordered_multimap/allocator/move.cc: Likewise. * testsuite/unordered_multimap/allocator/move_assign.cc: Likewise. * testsuite/unordered_multimap/allocator/swap.cc: Likewise. * testsuite/unordered_multimap/cons/moveable.cc: Likewise. * testsuite/unordered_multimap/debug/construct5_neg.cc: Likewise. * testsuite/unordered_multimap/debug/move_assign_neg.cc: Likewise. * testsuite/unordered_multimap/debug/move_neg.cc: Likewise. * testsuite/unordered_multimap/erase/1.cc: Likewise. * testsuite/unordered_multimap/erase/2.cc: Likewise. * testsuite/unordered_multimap/erase/24061-multimap.cc: Likewise. * testsuite/unordered_multimap/erase/51845-multimap.cc: Likewise. * testsuite/unordered_multimap/erase/54276.cc: Likewise. * testsuite/unordered_multimap/hash_policy/dr1189.cc: Likewise. * testsuite/unordered_multimap/init-list.cc: Likewise. * testsuite/unordered_multimap/insert/24061-multimap.cc: Likewise. * testsuite/unordered_multimap/insert/51866.cc: Likewise. * testsuite/unordered_multimap/insert/52476.cc: Likewise. * testsuite/unordered_multimap/insert/53115.cc: Likewise. * testsuite/unordered_multimap/insert/57619.C: Likewise. * testsuite/unordered_multimap/insert/hint.cc: Likewise. * testsuite/unordered_multimap/insert/multimap_range.cc: Likewise. * testsuite/unordered_multimap/insert/multimap_single.cc: Likewise. * testsuite/unordered_multimap/insert/multimap_single_move-1.cc: Likewise. * testsuite/unordered_multimap/insert/multimap_single_move-2.cc: Likewise. * testsuite/unordered_multimap/modifiers/emplace.cc: Likewise. * testsuite/unordered_multimap/modifiers/extract.cc: Likewise. * testsuite/unordered_multimap/modifiers/merge.cc: Likewise. * testsuite/unordered_multimap/modifiers/reserve.cc: Likewise. * testsuite/unordered_multimap/operations/count.cc: Likewise. * testsuite/unordered_multimap/operators/1.cc: Likewise. * testsuite/unordered_multimap/operators/2.cc: Likewise. * testsuite/unordered_multiset/allocator/copy.cc: Likewise. * testsuite/unordered_multiset/allocator/copy_assign.cc: Likewise. * testsuite/unordered_multiset/allocator/minimal.cc: Likewise. * testsuite/unordered_multiset/allocator/move.cc: Likewise. * testsuite/unordered_multiset/allocator/move_assign.cc: Likewise. * testsuite/unordered_multiset/allocator/swap.cc: Likewise. * testsuite/unordered_multiset/cons/copy.cc: Likewise. * testsuite/unordered_multiset/cons/moveable.cc: Likewise. * testsuite/unordered_multiset/debug/construct5_neg.cc: Likewise. * testsuite/unordered_multiset/debug/move_assign_neg.cc: Likewise. * testsuite/unordered_multiset/debug/move_neg.cc: Likewise. * testsuite/unordered_multiset/erase/1.cc: Likewise. * testsuite/unordered_multiset/erase/2.cc: Likewise. * testsuite/unordered_multiset/erase/24061-multiset.cc: Likewise. * testsuite/unordered_multiset/hash_policy/dr1189.cc: Likewise. * testsuite/unordered_multiset/init-list.cc: Likewise. * testsuite/unordered_multiset/insert/24061-multiset.cc: Likewise. * testsuite/unordered_multiset/insert/51866.cc: Likewise. * testsuite/unordered_multiset/insert/52476.cc: Likewise. * testsuite/unordered_multiset/insert/53115.cc: Likewise. * testsuite/unordered_multiset/insert/hash_policy.cc: Likewise. * testsuite/unordered_multiset/insert/multiset_range.cc: Likewise. * testsuite/unordered_multiset/insert/multiset_single.cc: Likewise. * testsuite/unordered_multiset/insert/multiset_single_move.cc: Likewise. * testsuite/unordered_multiset/modifiers/emplace.cc: Likewise. * testsuite/unordered_multiset/modifiers/extract.cc: Likewise. * testsuite/unordered_multiset/modifiers/merge.cc: Likewise. * testsuite/unordered_multiset/modifiers/reserve.cc: Likewise. * testsuite/unordered_multiset/operations/count.cc: Likewise. * testsuite/unordered_multiset/operators/1.cc: Likewise. * testsuite/unordered_set/allocator/copy.cc: Likewise. * testsuite/unordered_set/allocator/copy_assign.cc: Likewise. * testsuite/unordered_set/allocator/ext_ptr.cc: Likewise. * testsuite/unordered_set/allocator/minimal.cc: Likewise. * testsuite/unordered_set/allocator/move.cc: Likewise. * testsuite/unordered_set/allocator/move_assign.cc: Likewise. * testsuite/unordered_set/allocator/swap.cc: Likewise. * testsuite/unordered_set/buckets/swap.cc: Likewise. * testsuite/unordered_set/cons/moveable.cc: Likewise. * testsuite/unordered_set/debug/construct5_neg.cc: Likewise. * testsuite/unordered_set/debug/debug_functions.cc: Likewise. * testsuite/unordered_set/debug/move_assign_neg.cc: Likewise. * testsuite/unordered_set/debug/move_neg.cc: Likewise. * testsuite/unordered_set/erase/1.cc: Likewise. * testsuite/unordered_set/erase/24061-set.cc: Likewise. * testsuite/unordered_set/hash_policy/26132.cc: Likewise. * testsuite/unordered_set/hash_policy/71181.cc: Likewise. * testsuite/unordered_set/hash_policy/dr1189.cc: Likewise. * testsuite/unordered_set/hash_policy/load_factor.cc: Likewise. * testsuite/unordered_set/hash_policy/power2_rehash.cc: Likewise. * testsuite/unordered_set/hash_policy/prime_rehash.cc: Likewise. * testsuite/unordered_set/hash_policy/rehash.cc: Likewise. * testsuite/unordered_set/init-list.cc: Likewise. * testsuite/unordered_set/insert/24061-set.cc: Likewise. * testsuite/unordered_set/insert/hash_policy.cc: Likewise. * testsuite/unordered_set/insert/move_range.cc: Likewise. * testsuite/unordered_set/insert/set_range.cc: Likewise. * testsuite/unordered_set/insert/set_single.cc: Likewise. * testsuite/unordered_set/insert/set_single_move.cc: Likewise. * testsuite/unordered_set/max_load_factor/robustness.cc: Likewise. * testsuite/unordered_set/modifiers/emplace.cc: Likewise. * testsuite/unordered_set/modifiers/extract.cc: Likewise. * testsuite/unordered_set/modifiers/merge.cc: Likewise. * testsuite/unordered_set/modifiers/reserve.cc: Likewise. * testsuite/unordered_set/modifiers/swap.cc: Likewise. * testsuite/unordered_set/operations/count.cc: Likewise. * testsuite/unordered_set/operators/1.cc: Likewise. * testsuite/vector/allocator/copy.cc: Likewise. * testsuite/vector/allocator/copy_assign.cc: Likewise. * testsuite/vector/allocator/ext_ptr.cc: Likewise. * testsuite/vector/allocator/minimal.cc: Likewise. * testsuite/vector/allocator/move.cc: Likewise. * testsuite/vector/allocator/move_assign.cc: Likewise. * testsuite/vector/allocator/swap.cc: Likewise. * testsuite/vector/bool/6886.cc: Likewise. * testsuite/vector/bool/72847.cc: Likewise. * testsuite/vector/bool/allocator/copy.cc: Likewise. * testsuite/vector/bool/allocator/copy_assign.cc: Likewise. * testsuite/vector/bool/allocator/ext_ptr.cc: Likewise. * testsuite/vector/bool/allocator/move.cc: Likewise. * testsuite/vector/bool/allocator/move_assign.cc: Likewise. * testsuite/vector/bool/allocator/swap.cc: Likewise. * testsuite/vector/bool/capacity/1.cc: Likewise. * testsuite/vector/bool/capacity/29134.cc: Likewise. * testsuite/vector/bool/capacity/shrink_to_fit.cc: Likewise. * testsuite/vector/bool/cons/1.cc: Likewise. * testsuite/vector/bool/cons/2.cc: Likewise. * testsuite/vector/bool/modifiers/erase/1.cc: Likewise. * testsuite/vector/bool/modifiers/insert/1.cc: Likewise. * testsuite/vector/bool/modifiers/insert/31370.cc: Likewise. * testsuite/vector/bool/modifiers/swap/1.cc: Likewise. * testsuite/vector/bool/modifiers/swap/2.cc: Likewise. * testsuite/vector/bool/swap.cc: Likewise. * testsuite/vector/capacity/1.cc: Likewise. * testsuite/vector/capacity/2.cc: Likewise. * testsuite/vector/capacity/29134-2.cc: Likewise. * testsuite/vector/capacity/29134.cc: Likewise. * testsuite/vector/capacity/44190.cc: Likewise. * testsuite/vector/capacity/8230.cc: Likewise. * testsuite/vector/capacity/reserve/moveable.cc: Likewise. * testsuite/vector/capacity/reserve/moveable2.cc: Likewise. * testsuite/vector/capacity/resize/1.cc: Likewise. * testsuite/vector/capacity/resize/moveable.cc: Likewise. * testsuite/vector/capacity/resize/moveable2.cc: Likewise. * testsuite/vector/capacity/resize/resize_size.cc: Likewise. * testsuite/vector/capacity/shrink_to_fit.cc: Likewise. * testsuite/vector/capacity/shrink_to_fit2.cc: Likewise. * testsuite/vector/cons/3.cc: Likewise. * testsuite/vector/cons/4.cc: Likewise. * testsuite/vector/cons/cons_size.cc: Likewise. * testsuite/vector/cons/moveable.cc: Likewise. * testsuite/vector/data_access/1.cc: Likewise. * testsuite/vector/debug/debug_functions.cc: Likewise. * testsuite/vector/debug/move_assign_neg.cc: Likewise. * testsuite/vector/debug/move_neg.cc: Likewise. * testsuite/vector/debug/multithreaded_swap.cc: Likewise. * testsuite/vector/element_access/1.cc: Likewise. * testsuite/vector/ext_pointer/citerators.cc: Likewise. * testsuite/vector/ext_pointer/data_access.cc: Likewise. * testsuite/vector/ext_pointer/modifiers/element.cc: Likewise. * testsuite/vector/ext_pointer/modifiers/erase.cc: Likewise. * testsuite/vector/ext_pointer/modifiers/insert.cc: Likewise. * testsuite/vector/ext_pointer/resize.cc: Likewise. * testsuite/vector/modifiers/1.cc: Likewise. * testsuite/vector/modifiers/2.cc: Likewise. * testsuite/vector/modifiers/emplace/self_emplace.cc: Likewise. * testsuite/vector/modifiers/erase/1.cc: Likewise. * testsuite/vector/modifiers/erase/moveable.cc: Likewise. * testsuite/vector/modifiers/insert/1.cc: Likewise. * testsuite/vector/modifiers/insert/self_insert.cc: Likewise. * testsuite/vector/modifiers/moveable.cc: Likewise. * testsuite/vector/modifiers/moveable2.cc: Likewise. * testsuite/vector/modifiers/push_back/49836.cc: Likewise. * testsuite/vector/modifiers/swap/1.cc: Likewise. * testsuite/vector/modifiers/swap/2.cc: Likewise. * testsuite/vector/modifiers/swap/3.cc: Likewise. * testsuite/vector/zero_sized_allocations.cc: Likewise. From-SVN: r241241 |
||
Jonathan Wakely
|
52066eae5d |
Use effective-target instead of -std options
* testsuite/*: Use { target c++11 } or { target c++14 } instead of using -std in dg-options. From-SVN: r239777 |
||
Jakub Jelinek
|
818ab71a41 |
Update copyright years.
From-SVN: r232055 |
||
Jonathan Wakely
|
d4a9dffbaa |
Fix return type of heterogeneous find for sets
PR libstdc++/68190 * include/bits/stl_multiset.h (multiset::find): Fix return types. * include/bits/stl_set.h (set::find): Likewise. * testsuite/23_containers/map/operations/2.cc: Test find return types. * testsuite/23_containers/multimap/operations/2.cc: Likewise. * testsuite/23_containers/multiset/operations/2.cc: Likewise. * testsuite/23_containers/set/operations/2.cc: Likewise. From-SVN: r230113 |
||
François Dumont
|
d7b35f22be |
stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to outer scope and rename to ...
2015-06-07 François Dumont <fdumont@gcc.gnu.org> * include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to outer scope and rename to ... (std::__hash_is_transparent<>): ... this. * include/debug/stl_map.h (map::find<>, map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New member function templates to perform heterogeneous lookup. * include/debug/stl_multimap.h (multimap::find<>, multimap::lower_bound<>, multimap::upper_bound<>, multimap::equal_range<>): Likewise. * include/debug/stl_multiset.h (multiset::find<>, multiset::lower_bound<>, multiset::upper_bound<>, multiset::equal_range<>): Likewise. * include/debug/stl_set.h (set::find<>, set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise. * include/profile/stl_map.h (map::find<>, map::count<>, map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise. * include/profile/stl_multimap.h (multimap::find<>, multimap::count<>, multimap::lower_bound<>, multimap::upper_bound<>, multimap::equal_range<>): Likewise. * include/profile/stl_multiset.h (multiset::find<>, multiset::count<>, multiset::lower_bound<>, multiset::upper_bound<>, multiset::equal_range<>): Likewise. * include/profile/stl_set.h (set::find<>, set::count<>, set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise. * testsuite/23_containers/map/operations/1.cc: Check const variants. * testsuite/23_containers/multimap/operations/1.cc: Likewise. * testsuite/23_containers/multiset/operations/1.cc: Likewise. * testsuite/23_containers/set/operations/1.cc: Likewise. From-SVN: r224200 |
||
Jonathan Wakely
|
91c78ea5b6 |
Implement N3657: heterogeneous lookup in associative containers.
* include/bits/stl_map.h (map::find<>, map::count<>, map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New member function templates to perform heterogeneous lookup. * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>, multimap::lower_bound<>, multimap::upper_bound<>, multimap::equal_range<>): Likewise. * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>, multiset::lower_bound<>, multiset::upper_bound<>, multiset::equal_range<>): Likewise. * include/bits/stl_set.h (set::find<>, set::count<>, set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise. * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr, _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr, _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise. * testsuite/23_containers/map/operations/2.cc: New. * testsuite/23_containers/multimap/operations/2.cc: New. * testsuite/23_containers/multiset/operations/2.cc: New. * testsuite/23_containers/set/operations/2.cc: New. From-SVN: r219888 |
||
Jakub Jelinek
|
5624e564d2 |
Update copyright years.
From-SVN: r219188 |
||
Richard Sandiford
|
aa118a03c4 |
Update copyright years in libstdc++-v3/
From-SVN: r206301 |
||
Richard Sandiford
|
405feeb871 |
Update copyright in libstdc++-v3.
From-SVN: r195701 |
||
Paolo Carlini
|
4a6b297c98 |
count.cc: New.
2011-10-28 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/unordered_map/operations/count.cc: New. * testsuite/23_containers/multimap/operations/count.cc: Likewise. * testsuite/23_containers/set/operations/count.cc: Likewise. * testsuite/23_containers/unordered_multimap/operations/count.cc: Likewise. * testsuite/23_containers/unordered_set/operations/count.cc: Likewise. * testsuite/23_containers/multiset/operations/count.cc: Likewise. * testsuite/23_containers/unordered_multiset/operations/count.cc: Likewise. * testsuite/23_containers/map/operations/count.cc: Likewise. From-SVN: r180612 |
||
Jakub Jelinek
|
748086b7b2 |
Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
From-SVN: r145841 |
||
Paolo Carlini
|
7919bb2fba |
[multiple changes]
2007-12-10 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/nth_element/2.cc: Avoid -Wall warnings. * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-4.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Likewise. * testsuite/18_support/headers/cstddef/macros.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ wchar_t/28277.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ char/28277.cc: Likewise. * testsuite/26_numerics/headers/cmath/25913.cc: Likewise. * testsuite/ext/pb_ds/example/priority_queue_xref.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise. * testsuite/ext/enc_filebuf/char/13598.cc: Likewise. * testsuite/22_locale/collate/compare/char/2.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/6.cc: Likewise. * testsuite/22_locale/time_put/put/char/7.cc: Likewise. * testsuite/22_locale/time_put/put/char/8.cc: Likewise. * testsuite/22_locale/codecvt/unshift/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/2.cc: Likewise. * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise. * testsuite/22_locale/codecvt/in/char/1.cc: Likewise. * testsuite/22_locale/codecvt/out/char/1.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise. * testsuite/22_locale/num_get/get/char/1.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/uniform_int/ 33128.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ mutex_weaktoshared.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ default_weaktoshared.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/ range.cc: Likewise. * testsuite/23_containers/multimap/operations/1.cc: Likewise. * testsuite/23_containers/set/operations/1.cc: Likewise. * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/1.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise. * testsuite/23_containers/multiset/operations/1.cc: Likewise. * testsuite/23_containers/map/operations/1.cc: Likewise. * testsuite/util/testsuite_hooks.cc: Likewise. * testsuite/util/testsuite_rvalref.h: Likewise. 2007-12-10 Jakub Jelinek <jakub@redhat.com> * include/ext/throw_allocator.h (print_to_string): Change sprintf format to %lu and cast ref.second.{first,second} to long. * include/debug/safe_iterator.tcc (_M_can_advance): Add parens to avoid warnings. From-SVN: r130743 |
||
Paolo Carlini
|
639b490be5 |
PR libstdc++/29385 (2nd part, based on an idea by Ion Gaztanaga)
2006-11-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/29385 (2nd part, based on an idea by Ion Gaztanaga) * include/bits/stl_tree.h (_Rb_tree<>::_M_equal_range): Add. (equal_range(const key_type&)): Use it. 2006-11-26 Paolo Carlini <pcarlini@suse.de> * testsuite/23_containers/multiset/operations/1.cc: New. * testsuite/23_containers/set/operations/1.cc: Likewise. * testsuite/23_containers/multimap/operations/1.cc: Likewise. * testsuite/23_containers/map/operations/1.cc: Likewise. From-SVN: r119221 |