Lines Matching refs:Ptr
59 typedef std::unique_ptr<int, do_nothing> Ptr;
60 typedef std::vector<Ptr> C;
64 c1.push_back(Ptr(x+i));
67 c2.push_back(Ptr(x+i));
68 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5));
69 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2);
72 c1.push_back(Ptr(x+i));
75 c2.push_back(Ptr(x+i));
76 insert3at(c2, c2.begin()+1, Ptr(x+3), Ptr(x+4), Ptr(x+5));
77 test(std::move(c1), 1, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2);
80 c1.push_back(Ptr(x+i));
83 c2.push_back(Ptr(x+i));
84 insert3at(c2, c2.begin()+2, Ptr(x+3), Ptr(x+4), Ptr(x+5));
85 test(std::move(c1), 2, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2);
88 c1.push_back(Ptr(x+i));
91 c2.push_back(Ptr(x+i));
92 insert3at(c2, c2.begin()+3, Ptr(x+3), Ptr(x+4), Ptr(x+5));
93 test(std::move(c1), 3, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2);