Lines Matching refs:GoodIter

416 class GoodIter {  class
418 GoodIter() {} in GoodIter() function in GoodIter
419 GoodIter(const GoodIter &) {} in GoodIter() function in GoodIter
420 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
421 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
422 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
423 GoodIter &operator+=(int x) { return *this; } in operator +=()
424 GoodIter &operator-=(int x) { return *this; } in operator -=()
425 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
426 GoodIter operator++() { return *this; } in operator ++()
427 GoodIter operator--() { return *this; } in operator --()
429 bool operator<(GoodIter a) { return true; } in operator <()
430 bool operator<=(GoodIter a) { return true; } in operator <=()
431 bool operator>=(GoodIter a) { return false; } in operator >=()
437 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
439 GoodIter operator-(GoodIter a) { return a; } in operator -()
442 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
444 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
447 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
449 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
452 GoodIter begin, end; in test_with_random_access_iterator()
456 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
461 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
465 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
470 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
475 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
480 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
485 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
489 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
509 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
514 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
519 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
525 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
529 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
534 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
540 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
545 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
646 GoodIter begin, end; in test_with_template()
647 TC<GoodIter, 100> t1; in test_with_template()
648 TC<GoodIter, -100> t2; in test_with_template()