Home
last modified time | relevance | path

Searched refs:operator_hijacker (Results 1 – 25 of 71) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/
H A Diterator.operators.addressof.compile.pass.cpp36 using I = std::unordered_map<operator_hijacker, operator_hijacker>::iterator; in test()
37 using CI = std::unordered_map<operator_hijacker, operator_hijacker>::const_iterator; in test()
43 using IL = std::unordered_map<operator_hijacker, operator_hijacker>::local_iterator; in test()
44 using CIL = std::unordered_map<operator_hijacker, operator_hijacker>::const_local_iterator; in test()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
H A Dmove_alloc.addressof.compile.pass.cpp30 using A = test_allocator<std::pair<const operator_hijacker, operator_hijacker>>; in test()
31 …using C = std::unordered_multimap<operator_hijacker, operator_hijacker, std::hash<operator_hijacke… in test()
32 std::equal_to<operator_hijacker>, A>; in test()
H A Dmove.addressof.compile.pass.cpp31 std::unordered_multimap<operator_hijacker, operator_hijacker> mo; in test()
32 std::unordered_multimap<operator_hijacker, operator_hijacker> m(std::move(mo)); in test()
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-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/
H A Dmove_alloc.addressof.compile.pass.cpp30 using A = test_allocator<std::pair<const operator_hijacker, operator_hijacker>>; in test()
31 using C = std::unordered_map<operator_hijacker, operator_hijacker, std::hash<operator_hijacker>, in test()
32 std::equal_to<operator_hijacker>, A>; in test()
H A Dmove.addressof.compile.pass.cpp31 std::unordered_map<operator_hijacker, operator_hijacker> mo; in test()
32 std::unordered_map<operator_hijacker, operator_hijacker> m(std::move(mo)); in test()
H A Dassign_copy.addressof.compile.pass.cpp26 std::unordered_map<int, operator_hijacker> mo; in test()
27 std::unordered_map<int, operator_hijacker> m; in test()
31 std::unordered_map<operator_hijacker, int> mo; in test()
32 std::unordered_map<operator_hijacker, int> m; in test()
H A Dassign_move.addressof.compile.pass.cpp33 std::unordered_map<int, operator_hijacker> mo; in test()
34 std::unordered_map<int, operator_hijacker> m; in test()
38 std::unordered_map<operator_hijacker, int> mo; in test()
39 std::unordered_map<operator_hijacker, int> m; in test()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dmove.addressof.compile.pass.cpp24 std::vector<operator_hijacker> vo; in test()
25 std::vector<operator_hijacker> v(std::move(vo)); in test()
28 std::vector<operator_hijacker> vo; in test()
29 std::vector<operator_hijacker> v(std::move(vo), std::allocator<operator_hijacker>()); in test()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
H A Dmove_alloc.addressof.compile.pass.cpp26 using A = test_allocator<operator_hijacker>; in test()
27 using H = std::hash<operator_hijacker>; in test()
28 using P = std::equal_to<operator_hijacker>; in test()
31 std::unordered_multiset<operator_hijacker, H, P, A> so; in test()
32 std::unordered_multiset<operator_hijacker, H, P, A> s(std::move(so), a); in test()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/
H A Dmove_alloc.addressof.compile.pass.cpp28 using A = test_allocator<operator_hijacker>; in test()
29 using H = std::hash<operator_hijacker>; in test()
30 using P = std::equal_to<operator_hijacker>; in test()
33 std::unordered_set<operator_hijacker, H, P, A> so; in test()
34 std::unordered_set<operator_hijacker, H, P, A> s(std::move(so), a); in test()
/llvm-project-15.0.7/libcxx/test/support/
H A Doperator_hijacker.h20 struct operator_hijacker { struct
21 bool operator<(const operator_hijacker&) const { return true; }
22 bool operator==(const operator_hijacker&) const { return true; }
35 struct std::hash<operator_hijacker> { argument
36 size_t operator()(const operator_hijacker&) const { return 0; }
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
H A Dinsert_rvalue_value_type.addressof.compile.pass.cpp26 void test(std::unordered_map<operator_hijacker, operator_hijacker>& m) { in test() argument
27 m.insert(m.cend(), std::pair<operator_hijacker, operator_hijacker>{}); in test()
H A Dinsert_hint_const_lvalue.addressof.compile.pass.cpp25 std::unordered_map<operator_hijacker, operator_hijacker> m; in test()
26 const std::pair<operator_hijacker, operator_hijacker> v; in test()
H A Dtry_emplace_hint.addressof.compile.pass.cpp31 std::unordered_map<operator_hijacker, operator_hijacker> m; in test()
33 const operator_hijacker k; in test()
37 operator_hijacker k; in test()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
H A Dswap.addressof.compile.pass.cpp26 std::unordered_map<operator_hijacker, operator_hijacker> m1; in test()
27 std::unordered_map<operator_hijacker, operator_hijacker> m2; in test()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.cons/
H A Dcopy_assign.addressof.compile.pass.cpp24 std::multimap<int, operator_hijacker> mo; in test()
25 std::multimap<int, operator_hijacker> m; in test()
29 std::multimap<operator_hijacker, int> mo; in test()
30 std::multimap<operator_hijacker, int> m; in test()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.cons/
H A Dcopy_assign.addressof.compile.pass.cpp24 std::map<int, operator_hijacker> mo; in test()
25 std::map<int, operator_hijacker> m; in test()
29 std::map<operator_hijacker, int> mo; in test()
30 std::map<operator_hijacker, int> m; in test()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/
H A Diterator.operators.addressof.compile.pass.cpp34 using I = std::unordered_set<operator_hijacker>::iterator; in test()
35 using CI = std::unordered_set<operator_hijacker>::const_iterator; in test()
41 using IL = std::unordered_set<operator_hijacker>::local_iterator; in test()
42 using CIL = std::unordered_set<operator_hijacker>::const_local_iterator; in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dallocate_shared.pass.cpp179 …std::shared_ptr<operator_hijacker> p1 = std::allocate_shared<operator_hijacker>(min_allocator<oper… in main()
180 …std::shared_ptr<operator_hijacker> p2 = std::allocate_shared<operator_hijacker>(min_allocator<oper… in main()
H A Dmake_shared.pass.cpp129 std::shared_ptr<operator_hijacker> p1 = std::make_shared<operator_hijacker>(); in main()
130 … std::shared_ptr<operator_hijacker> p2 = std::make_shared<operator_hijacker>(operator_hijacker()); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
H A Dmerge_lvalue_pred.addressof.compile.pass.cpp21 std::forward_list<operator_hijacker> lo; in test()
22 std::forward_list<operator_hijacker> l; in test()
23 lo.merge(l, std::less<operator_hijacker>()); in test()
H A Dmerge_rvalue_pred.addressof.compile.pass.cpp23 std::forward_list<operator_hijacker> lo; in test()
24 std::forward_list<operator_hijacker> l; in test()
25 lo.merge(std::move(l), std::less<operator_hijacker>()); in test()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.modifiers/
H A Dinsert_iter_iter_iter.addressof.compile.pass.cpp22 void test(cpp17_input_iterator<operator_hijacker*> i) { in test()
24 std::vector<operator_hijacker> v; in test()
28 std::vector<operator_hijacker> v; in test()
H A Dinsert_iter_rvalue.addressof.compile.pass.cpp23 std::vector<operator_hijacker> v; in test()
24 v.insert(v.end(), operator_hijacker()); in test()

123