Home
last modified time | relevance | path

Searched refs:unordered_multimap (Results 1 – 25 of 166) sorted by relevance

1234567

/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
H A Ddeduct.pass.cpp101 std::unordered_multimap m(std::begin(arr), std::end(arr)); in main()
102 ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long>); in main()
108 std::unordered_multimap m(std::begin(arr), std::end(arr), 42); in main()
109 ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long>); in main()
115 std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>()); in main()
116 …ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<i… in main()
122 …std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>(… in main()
123 …ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>… in main()
129 …std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>(… in main()
130 …ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>… in main()
[all …]
H A Ddeduct_const.pass.cpp77 std::unordered_multimap m(std::begin(arr), std::end(arr)); in main()
78 ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long>); in main()
84 std::unordered_multimap m(std::begin(arr), std::end(arr), 42); in main()
85 ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long>); in main()
91 std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>()); in main()
92 …ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<i… in main()
98 …std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>(… in main()
99 …ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>… in main()
105 …std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>(… in main()
106 …ASSERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>… in main()
[all …]
H A Ddeduct.verify.cpp67 …std::unordered_multimap m; // expected-error-re{{no viable constructor or deduction guide for dedu… in main()
71 …std::unordered_multimap m(42); // expected-error-re{{no viable constructor or deduction guide for … in main()
75 std::unordered_multimap m(42, std::hash<int>()); in main()
80 std::unordered_multimap m(42, std::hash<int>(), std::equal_to<int>()); in main()
85 std::unordered_multimap m(42, std::hash<int>(), std::equal_to<int>(), std::allocator<P>()); in main()
90 std::unordered_multimap m(std::allocator<P>{}); in main()
95 std::unordered_multimap m(42, std::allocator<P>()); in main()
100 std::unordered_multimap m(42, std::hash<int>(), std::allocator<P>()); in main()
H A Dfrom_range.pass.cpp35 auto c = std::unordered_multimap<int, char>(std::from_range, input); in test_duplicates()
42 …test_unordered_map<std::unordered_multimap, int, int, Iter, Sent, test_hash<int>, test_equal_to<in… in main()
44 test_unordered_map_move_only<std::unordered_multimap>(); in main()
47 static_assert(test_map_constraints<std::unordered_multimap, int, int, double, double>()); in main()
49 test_map_exception_safety_throwing_copy<std::unordered_multimap>(); in main()
50 test_map_exception_safety_throwing_allocator<std::unordered_multimap, int, int>(); in main()
H A Ddefault_noexcept.pass.cpp51 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; in main()
55 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
61 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
66 typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>> C; in main()
70 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
H A Ddtor_noexcept.pass.cpp43 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; in main()
47 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
52 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
58 typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>> C; in main()
62 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
H A Dmove_noexcept.pass.cpp47 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; in main()
51 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
56 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
62 typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>> C; in main()
66 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
H A Dmove_assign_noexcept.pass.cpp49 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; in main()
53 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
59 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
65 typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>> C; in main()
69 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
H A Dassign_copy.addressof.compile.pass.cpp26 std::unordered_multimap<int, operator_hijacker> mo; in test()
27 std::unordered_multimap<int, operator_hijacker> m; in test()
31 std::unordered_multimap<operator_hijacker, int> mo; in test()
32 std::unordered_multimap<operator_hijacker, int> m; in test()
/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/
H A Dswap_noexcept.pass.cpp125 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; in main()
130 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
135 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
141 typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>> C; in main()
145 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
152 …typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, som… in main()
156 …typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, som… in main()
160 …typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, som… in main()
164 …typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, som… in main()
168 …typedef std::unordered_multimap<MoveOnly, MoveOnly, some_hash2<MoveOnly>, some_comp <MoveOnly>, so… in main()
[all …]
/llvm-project/libcxx/include/
H A Dunordered_map173 void merge(unordered_multimap<Key, T, H2, P2, Allocator>& source); // C++17
175 void merge(unordered_multimap<Key, T, H2, P2, Allocator>&& source); // C++17
312 class unordered_multimap
336 unordered_multimap()
341 explicit unordered_multimap(size_type n, const hasher& hf = hasher(),
345 unordered_multimap(InputIterator f, InputIterator l,
350 unordered_multimap(from_range_t, R&& rg, size_type n = see below,
353 explicit unordered_multimap(const allocator_type&);
354 unordered_multimap(const unordered_multimap
[all...]
/llvm-project/libcxx/test/libcxx/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Ddebug.erase.iter_iter.pass.cpp25 std::unordered_multimap<int, int> l1(a1, a1+3); in main()
26 std::unordered_multimap<int, int> l2(a1, a1+3); in main()
36 std::unordered_multimap<int, int> l1(a1, a1+3); in main()
37 std::unordered_multimap<int, int> l2(a1, a1+3); in main()
47 std::unordered_multimap<int, int> l1(a1, a1+3); in main()
48 std::unordered_multimap<int, int> l2(a1, a1+3); in main()
58 std::unordered_multimap<int, int> l1(a1, a1+3); in main()
H A Ddebug.erase.iter.pass.cpp25 std::unordered_multimap<int, int> l1(a1, a1+3); in main()
26 std::unordered_multimap<int, int>::const_iterator i = l1.end(); in main()
35 std::unordered_multimap<int, int> l1(a1, a1+3); in main()
36 std::unordered_multimap<int, int> l2(a1, a1+3); in main()
37 std::unordered_multimap<int, int>::const_iterator i = l2.begin(); in main()
/llvm-project/libcxx/test/std/containers/unord/unord.multimap/
H A Deq.pass.cpp34 typedef std::unordered_multimap<int, std::string> C; in main()
55 typedef std::unordered_multimap<int, std::string> C; in main()
76 typedef std::unordered_multimap<int, std::string> C; in main()
102 typedef std::unordered_multimap<int, std::string> C; in main()
127 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main()
149 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main()
171 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main()
198 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main()
230 std::unordered_multimap<int, char> c1(std::begin(a), std::end(a)); in main()
231 std::unordered_multimap<int, char> c2(std::begin(b), std::end(b)); in main()
[all …]
H A Dequal_range.transparent.pass.cpp30 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<>>; in main()
37 …using M = unord_map_type<std::unordered_multimap, transparent_hash_final, transparent_equal_final>; in main()
44 using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<>>; in main()
51 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
58 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dfind.transparent.pass.cpp30 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<>>; in main()
37 …using M = unord_map_type<std::unordered_multimap, transparent_hash_final, transparent_equal_final>; in main()
44 using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<>>; in main()
51 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
58 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dcontains.transparent.pass.cpp29 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<>>; in main()
36 …using M = unord_map_type<std::unordered_multimap, transparent_hash_final, transparent_equal_final>; in main()
43 using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<>>; in main()
50 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
57 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dcount.transparent.pass.cpp30 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<>>; in main()
37 …using M = unord_map_type<std::unordered_multimap, transparent_hash_final, transparent_equal_final>; in main()
44 using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<>>; in main()
51 using M = unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<key_type>>; in main()
58 … using M = unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to<key_type>>; in main()
H A Dmax_load_factor.pass.cpp28 typedef std::unordered_multimap<int, std::string> C; in main()
33 typedef std::unordered_multimap<int, std::string> C; in main()
41 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main()
47 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main()
H A Derase_if.pass.cpp83 test<std::unordered_multimap<int, int>>(); in main()
84 …test<std::unordered_multimap<int, int, std::hash<int>, std::equal_to<int>, min_allocator<std::pair… in main()
85 …test<std::unordered_multimap<int, int, std::hash<int>, std::equal_to<int>, test_allocator<std::pai… in main()
87 test<std::unordered_multimap<long, short>>(); in main()
88 test<std::unordered_multimap<short, double>>(); in main()
/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Dinsert_range.pass.cpp29 …test_map_set_insert_range<std::unordered_multimap<int, char, test_hash<int>, test_equal_to<int>, A… in main()
32 …static_assert(test_map_constraints_insert_range<std::unordered_multimap, int, int, char, double>()… in main()
34 test_map_insert_range_move_only<std::unordered_multimap>(); in main()
36 test_map_insert_range_exception_safety_throwing_copy<std::unordered_multimap>(); in main()
37 …test_unord_map_insert_range_exception_safety_throwing_allocator<std::unordered_multimap, int, int>… in main()
H A Dmerge.pass.cpp55 std::unordered_multimap<int, int> src{{1, 0}, {3, 0}, {5, 0}}; in main()
56 std::unordered_multimap<int, int> dst{{2, 0}, {4, 0}, {5, 0}}; in main()
65 typedef std::unordered_multimap<Counter<int>, int, throw_hasher<Counter<int>>> map_type; in main()
104 …typedef std::unordered_multimap<Counter<int>, int, std::hash<Counter<int>>, std::equal_to<Counter<… in main()
105 typedef std::unordered_multimap<Counter<int>, int, hasher, equal> second_map_type; in main()
144 std::unordered_multimap<int, int> first; in main()
146 std::unordered_multimap<int, int> second; in main()
/llvm-project/libcxx/test/std/utilities/utility/mem.res/mem.res.aliases/
H A Dheader_unordered_map_synop.pass.cpp65 using StdMap = std::unordered_multimap<K, V, DH, DP, std::pmr::polymorphic_allocator<P>>; in main()
66 using PmrMap = std::pmr::unordered_multimap<K, V>; in main()
70 using StdMap = std::unordered_multimap<K, V, MH, DP, std::pmr::polymorphic_allocator<P>>; in main()
71 using PmrMap = std::pmr::unordered_multimap<K, V, MH>; in main()
75 using StdMap = std::unordered_multimap<K, V, MH, MP, std::pmr::polymorphic_allocator<P>>; in main()
76 using PmrMap = std::pmr::unordered_multimap<K, V, MH, MP>; in main()
80 std::pmr::unordered_multimap<int, int> m; in main()
/llvm-project/libcxx/test/libcxx/containers/unord/unord.multimap/
H A Ddebug.swap.pass.cpp28 std::unordered_multimap<int, int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
29 std::unordered_multimap<int, int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
30 std::unordered_multimap<int, int>::iterator i1 = c1.begin(); in main()
31 std::unordered_multimap<int, int>::iterator i2 = c2.begin(); in main()
/llvm-project/libcxx/test/libcxx/diagnostics/
H A Dunordered_map.nodiscard.verify.cpp23 std::unordered_multimap<int, int> unordered_multimap; in unordered_multimap_test() local
24unordered_multimap.empty(); // expected-warning {{ignoring return value of function declared with … in unordered_multimap_test()

1234567