Lines Matching refs:next
36 assert(i == next(c.before_begin(), 3));
38 assert(*next(c.begin(), 0) == 0);
39 assert(*next(c.begin(), 1) == 1);
40 assert(*next(c.begin(), 2) == 2);
43 assert(i == next(c.begin(), 2));
45 assert(*next(c.begin(), 0) == 0);
46 assert(*next(c.begin(), 1) == 3);
47 assert(*next(c.begin(), 2) == 4);
48 assert(*next(c.begin(), 3) == 1);
49 assert(*next(c.begin(), 4) == 2);
64 assert(i == next(c.before_begin(), 3));
66 assert(*next(c.begin(), 0) == 0);
67 assert(*next(c.begin(), 1) == 1);
68 assert(*next(c.begin(), 2) == 2);
71 assert(i == next(c.begin(), 2));
73 assert(*next(c.begin(), 0) == 0);
74 assert(*next(c.begin(), 1) == 3);
75 assert(*next(c.begin(), 2) == 4);
76 assert(*next(c.begin(), 3) == 1);
77 assert(*next(c.begin(), 4) == 2);