Lines Matching refs:MakeTransformIterator
47 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1)); in TEST()
54 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); in TEST()
61 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); in TEST()
68 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); in TEST()
75 std::copy(MakeTransformIterator(input.begin(), add1), in TEST()
76 MakeTransformIterator(input.end(), add1), in TEST()
81 std::copy(MakeTransformIterator(input.cbegin(), add1), in TEST()
82 MakeTransformIterator(input.cend(), add1), in TEST()
87 std::copy(MakeTransformIterator(input.rbegin(), add1), in TEST()
88 MakeTransformIterator(input.rend(), add1), in TEST()
93 std::copy(MakeTransformIterator(input.crbegin(), add1), in TEST()
94 MakeTransformIterator(input.crend(), add1), in TEST()
100 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.begin(), add1)[i]); in TEST()
101 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.cbegin(), add1)[i]); in TEST()
103 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.rbegin(), add1)[index_from_rbegin]); in TEST()
104 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.crbegin(), add1)[index_from_rbegin]); in TEST()
106 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.end(), add1)[index_from_end]); in TEST()
107 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.cend(), add1)[index_from_end]); in TEST()
109 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.rend(), add1)[index_from_rend]); in TEST()
110 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.crend(), add1)[index_from_rend]); in TEST()
112 ASSERT_EQ(MakeTransformIterator(input.begin(), add1) + i, in TEST()
113 MakeTransformIterator(input.begin() + i, add1)); in TEST()
114 ASSERT_EQ(MakeTransformIterator(input.cbegin(), add1) + i, in TEST()
115 MakeTransformIterator(input.cbegin() + i, add1)); in TEST()
116 ASSERT_EQ(MakeTransformIterator(input.rbegin(), add1) + i, in TEST()
117 MakeTransformIterator(input.rbegin() + i, add1)); in TEST()
118 ASSERT_EQ(MakeTransformIterator(input.crbegin(), add1) + i, in TEST()
119 MakeTransformIterator(input.crbegin() + i, add1)); in TEST()
120 ASSERT_EQ(MakeTransformIterator(input.end(), add1) - i, in TEST()
121 MakeTransformIterator(input.end() - i, add1)); in TEST()
122 ASSERT_EQ(MakeTransformIterator(input.cend(), add1) - i, in TEST()
123 MakeTransformIterator(input.cend() - i, add1)); in TEST()
124 ASSERT_EQ(MakeTransformIterator(input.rend(), add1) - i, in TEST()
125 MakeTransformIterator(input.rend() - i, add1)); in TEST()
126 ASSERT_EQ(MakeTransformIterator(input.crend(), add1) - i, in TEST()
127 MakeTransformIterator(input.crend() - i, add1)); in TEST()
130 (MakeTransformIterator(input.begin(), add1) + input.size()).base()); in TEST()
131 ASSERT_EQ(MakeTransformIterator(input.end(), add1) - MakeTransformIterator(input.begin(), add1), in TEST()
135 auto it = MakeTransformIterator(input.begin(), add1); in TEST()
136 decltype(MakeTransformIterator(input.cbegin(), add1)) cit = it; in TEST()
139 auto rit = MakeTransformIterator(input.rbegin(), add1); in TEST()
140 decltype(MakeTransformIterator(input.crbegin(), add1)) crit(rit); in TEST()
150 using list_titer = decltype(MakeTransformIterator(input.begin(), sub1)); in TEST()
157 using list_ctiter = decltype(MakeTransformIterator(input.cbegin(), sub1)); in TEST()
164 using list_rtiter = decltype(MakeTransformIterator(input.rbegin(), sub1)); in TEST()
171 using list_crtiter = decltype(MakeTransformIterator(input.crbegin(), sub1)); in TEST()
178 std::copy(MakeTransformIterator(input.begin(), sub1), in TEST()
179 MakeTransformIterator(input.end(), sub1), in TEST()
184 std::copy(MakeTransformIterator(input.cbegin(), sub1), in TEST()
185 MakeTransformIterator(input.cend(), sub1), in TEST()
190 std::copy(MakeTransformIterator(input.rbegin(), sub1), in TEST()
191 MakeTransformIterator(input.rend(), sub1), in TEST()
196 std::copy(MakeTransformIterator(input.crbegin(), sub1), in TEST()
197 MakeTransformIterator(input.crend(), sub1), in TEST()
203 auto it = MakeTransformIterator(input.begin(), sub1); in TEST()
204 decltype(MakeTransformIterator(input.cbegin(), sub1)) cit = it; in TEST()
214 using flist_titer = decltype(MakeTransformIterator(input.begin(), mul3)); in TEST()
221 using flist_ctiter = decltype(MakeTransformIterator(input.cbegin(), mul3)); in TEST()
228 std::copy(MakeTransformIterator(input.begin(), mul3), in TEST()
229 MakeTransformIterator(input.end(), mul3), in TEST()
234 std::copy(MakeTransformIterator(input.cbegin(), mul3), in TEST()
235 MakeTransformIterator(input.cend(), mul3), in TEST()
241 auto it = MakeTransformIterator(input.begin(), mul3); in TEST()
242 decltype(MakeTransformIterator(input.cbegin(), mul3)) cit = it; in TEST()
252 using vector_titer = decltype(MakeTransformIterator(input.begin(), ref)); in TEST()
259 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), ref)); in TEST()
266 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), ref)); in TEST()
273 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), ref)); in TEST()
280 std::copy(MakeTransformIterator(input.begin(), ref), in TEST()
281 MakeTransformIterator(input.end(), ref), in TEST()
286 std::copy(MakeTransformIterator(input.cbegin(), ref), in TEST()
287 MakeTransformIterator(input.cend(), ref), in TEST()
292 std::copy(MakeTransformIterator(input.rbegin(), ref), in TEST()
293 MakeTransformIterator(input.rend(), ref), in TEST()
298 std::copy(MakeTransformIterator(input.crbegin(), ref), in TEST()
299 MakeTransformIterator(input.crend(), ref), in TEST()
305 ASSERT_EQ(input[i].value, MakeTransformIterator(input.begin(), ref)[i]); in TEST()
306 ASSERT_EQ(input[i].value, MakeTransformIterator(input.cbegin(), ref)[i]); in TEST()
308 ASSERT_EQ(input[i].value, MakeTransformIterator(input.rbegin(), ref)[index_from_rbegin]); in TEST()
309 ASSERT_EQ(input[i].value, MakeTransformIterator(input.crbegin(), ref)[index_from_rbegin]); in TEST()
311 ASSERT_EQ(input[i].value, MakeTransformIterator(input.end(), ref)[index_from_end]); in TEST()
312 ASSERT_EQ(input[i].value, MakeTransformIterator(input.cend(), ref)[index_from_end]); in TEST()
314 ASSERT_EQ(input[i].value, MakeTransformIterator(input.rend(), ref)[index_from_rend]); in TEST()
315 ASSERT_EQ(input[i].value, MakeTransformIterator(input.crend(), ref)[index_from_rend]); in TEST()
317 ASSERT_EQ(MakeTransformIterator(input.begin(), ref) + i, in TEST()
318 MakeTransformIterator(input.begin() + i, ref)); in TEST()
319 ASSERT_EQ(MakeTransformIterator(input.cbegin(), ref) + i, in TEST()
320 MakeTransformIterator(input.cbegin() + i, ref)); in TEST()
321 ASSERT_EQ(MakeTransformIterator(input.rbegin(), ref) + i, in TEST()
322 MakeTransformIterator(input.rbegin() + i, ref)); in TEST()
323 ASSERT_EQ(MakeTransformIterator(input.crbegin(), ref) + i, in TEST()
324 MakeTransformIterator(input.crbegin() + i, ref)); in TEST()
325 ASSERT_EQ(MakeTransformIterator(input.end(), ref) - i, in TEST()
326 MakeTransformIterator(input.end() - i, ref)); in TEST()
327 ASSERT_EQ(MakeTransformIterator(input.cend(), ref) - i, in TEST()
328 MakeTransformIterator(input.cend() - i, ref)); in TEST()
329 ASSERT_EQ(MakeTransformIterator(input.rend(), ref) - i, in TEST()
330 MakeTransformIterator(input.rend() - i, ref)); in TEST()
331 ASSERT_EQ(MakeTransformIterator(input.crend(), ref) - i, in TEST()
332 MakeTransformIterator(input.crend() - i, ref)); in TEST()
335 (MakeTransformIterator(input.begin(), ref) + input.size()).base()); in TEST()
336 ASSERT_EQ(MakeTransformIterator(input.end(), ref) - MakeTransformIterator(input.begin(), ref), in TEST()
345 using vector_titer = decltype(MakeTransformIterator(input.begin(), ref)); in TEST()
352 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), ref)); in TEST()
359 std::copy(MakeTransformIterator(input.begin(), ref), in TEST()
360 MakeTransformIterator(input.end(), ref), in TEST()
365 std::copy(MakeTransformIterator(input.rbegin(), ref), in TEST()
366 MakeTransformIterator(input.rend(), ref), in TEST()
372 ASSERT_EQ(input[i].value, MakeTransformIterator(input.begin(), ref)[i]); in TEST()
374 ASSERT_EQ(input[i].value, MakeTransformIterator(input.rbegin(), ref)[index_from_rbegin]); in TEST()
376 ASSERT_EQ(input[i].value, MakeTransformIterator(input.end(), ref)[index_from_end]); in TEST()
378 ASSERT_EQ(input[i].value, MakeTransformIterator(input.rend(), ref)[index_from_rend]); in TEST()
380 ASSERT_EQ(MakeTransformIterator(input.begin(), ref) + i, in TEST()
381 MakeTransformIterator(input.begin() + i, ref)); in TEST()
382 ASSERT_EQ(MakeTransformIterator(input.rbegin(), ref) + i, in TEST()
383 MakeTransformIterator(input.rbegin() + i, ref)); in TEST()
384 ASSERT_EQ(MakeTransformIterator(input.end(), ref) - i, in TEST()
385 MakeTransformIterator(input.end() - i, ref)); in TEST()
386 ASSERT_EQ(MakeTransformIterator(input.rend(), ref) - i, in TEST()
387 MakeTransformIterator(input.rend() - i, ref)); in TEST()
390 (MakeTransformIterator(input.begin(), ref) + input.size()).base()); in TEST()
391 ASSERT_EQ(MakeTransformIterator(input.end(), ref) - MakeTransformIterator(input.begin(), ref), in TEST()
399 MakeTransformIterator(transformed.begin(), ref), in TEST()
413 using vector_titer = decltype(MakeTransformIterator(input.begin(), ref)); in TEST()
420 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), ref)); in TEST()
427 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), ref)); in TEST()
434 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), ref)); in TEST()
441 std::copy(MakeTransformIterator(input.begin(), ref), in TEST()
442 MakeTransformIterator(input.end(), ref), in TEST()
447 std::copy(MakeTransformIterator(input.cbegin(), ref), in TEST()
448 MakeTransformIterator(input.cend(), ref), in TEST()
453 std::copy(MakeTransformIterator(input.rbegin(), ref), in TEST()
454 MakeTransformIterator(input.rend(), ref), in TEST()
459 std::copy(MakeTransformIterator(input.crbegin(), ref), in TEST()
460 MakeTransformIterator(input.crend(), ref), in TEST()
466 ASSERT_EQ(input[i].value, MakeTransformIterator(input.begin(), ref)[i]); in TEST()
467 ASSERT_EQ(input[i].value, MakeTransformIterator(input.cbegin(), ref)[i]); in TEST()
469 ASSERT_EQ(input[i].value, MakeTransformIterator(input.rbegin(), ref)[index_from_rbegin]); in TEST()
470 ASSERT_EQ(input[i].value, MakeTransformIterator(input.crbegin(), ref)[index_from_rbegin]); in TEST()
472 ASSERT_EQ(input[i].value, MakeTransformIterator(input.end(), ref)[index_from_end]); in TEST()
473 ASSERT_EQ(input[i].value, MakeTransformIterator(input.cend(), ref)[index_from_end]); in TEST()
475 ASSERT_EQ(input[i].value, MakeTransformIterator(input.rend(), ref)[index_from_rend]); in TEST()
476 ASSERT_EQ(input[i].value, MakeTransformIterator(input.crend(), ref)[index_from_rend]); in TEST()
478 ASSERT_EQ(MakeTransformIterator(input.begin(), ref) + i, in TEST()
479 MakeTransformIterator(input.begin() + i, ref)); in TEST()
480 ASSERT_EQ(MakeTransformIterator(input.cbegin(), ref) + i, in TEST()
481 MakeTransformIterator(input.cbegin() + i, ref)); in TEST()
482 ASSERT_EQ(MakeTransformIterator(input.rbegin(), ref) + i, in TEST()
483 MakeTransformIterator(input.rbegin() + i, ref)); in TEST()
484 ASSERT_EQ(MakeTransformIterator(input.crbegin(), ref) + i, in TEST()
485 MakeTransformIterator(input.crbegin() + i, ref)); in TEST()
486 ASSERT_EQ(MakeTransformIterator(input.end(), ref) - i, in TEST()
487 MakeTransformIterator(input.end() - i, ref)); in TEST()
488 ASSERT_EQ(MakeTransformIterator(input.cend(), ref) - i, in TEST()
489 MakeTransformIterator(input.cend() - i, ref)); in TEST()
490 ASSERT_EQ(MakeTransformIterator(input.rend(), ref) - i, in TEST()
491 MakeTransformIterator(input.rend() - i, ref)); in TEST()
492 ASSERT_EQ(MakeTransformIterator(input.crend(), ref) - i, in TEST()
493 MakeTransformIterator(input.crend() - i, ref)); in TEST()
496 (MakeTransformIterator(input.begin(), ref) + input.size()).base()); in TEST()
497 ASSERT_EQ(MakeTransformIterator(input.end(), ref) - MakeTransformIterator(input.begin(), ref), in TEST()
501 auto it = MakeTransformIterator(input.begin(), ref); in TEST()
502 decltype(MakeTransformIterator(input.cbegin(), ref)) cit = it; in TEST()
505 auto rit = MakeTransformIterator(input.rbegin(), ref); in TEST()
506 decltype(MakeTransformIterator(input.crbegin(), ref)) crit(rit); in TEST()
515 MakeTransformIterator(transformed.begin(), ref), in TEST()