Lines Matching refs:list
10 // <list>
12 // list(list&& c);
14 #include <list>
24 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5));
25 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5));
31 std::list<MoveOnly, test_allocator<MoveOnly> > l2 = std::move(l);
37 std::list<MoveOnly, other_allocator<MoveOnly> > l(other_allocator<MoveOnly>(5));
38 std::list<MoveOnly, other_allocator<MoveOnly> > lo(other_allocator<MoveOnly>(5));
44 std::list<MoveOnly, other_allocator<MoveOnly> > l2 = std::move(l);
51 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{});
52 std::list<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{});
58 std::list<MoveOnly, min_allocator<MoveOnly> > l2 = std::move(l);
66 std::list<int> l1 = {1, 2, 3};
67 std::list<int>::iterator i = l1.begin();
68 std::list<int> l2 = std::move(l1);