Lines Matching refs:GoodIter
434 class GoodIter { class
436 GoodIter() {} in GoodIter() function in GoodIter
437 GoodIter(const GoodIter &) {} in GoodIter() argument
438 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
439 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
440 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
441 GoodIter &operator+=(int x) { return *this; } in operator +=()
442 GoodIter &operator-=(int x) { return *this; } in operator -=()
443 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
444 GoodIter operator++() { return *this; } in operator ++()
445 GoodIter operator--() { return *this; } in operator --()
447 bool operator<(GoodIter a) { return true; } in operator <()
448 bool operator<=(GoodIter a) { return true; } in operator <=()
449 bool operator>=(GoodIter a) { return false; } in operator >=()
468 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
470 GoodIter operator-(GoodIter a) { return a; } in operator -()
473 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
475 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
478 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
480 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
483 GoodIter begin, end; in test_with_random_access_iterator()
487 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
492 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
496 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
501 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
506 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
511 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
516 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
520 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
540 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
545 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
550 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
556 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
560 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
565 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
571 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
576 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
724 GoodIter begin, end; in test_with_template()
725 TC<GoodIter, 100> t1; in test_with_template()
726 TC<GoodIter, -100> t2; in test_with_template()