Lines Matching refs:GoodIter
344 class GoodIter { class
346 GoodIter() {} in GoodIter() function in GoodIter
347 GoodIter(const GoodIter &) {} in GoodIter() function in GoodIter
348 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
349 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
350 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
351 GoodIter &operator+=(int x) { return *this; } in operator +=()
352 GoodIter &operator-=(int x) { return *this; } in operator -=()
353 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
354 GoodIter operator++() { return *this; } in operator ++()
355 GoodIter operator--() { return *this; } in operator --()
357 bool operator<(GoodIter a) { return true; } in operator <()
358 bool operator<=(GoodIter a) { return true; } in operator <=()
359 bool operator>=(GoodIter a) { return false; } in operator >=()
365 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
367 GoodIter operator-(GoodIter a) { return a; } in operator -()
370 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
372 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
375 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
377 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
380 GoodIter begin, end; in test_with_random_access_iterator()
383 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
387 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
390 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
394 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
398 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
402 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
406 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
409 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
425 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
429 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
433 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
438 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
441 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
445 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
450 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
454 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
542 GoodIter begin, end; in test_with_template()
543 TC<GoodIter, 100> t1; in test_with_template()
544 TC<GoodIter, -100> t2; in test_with_template()