Lines Matching refs:GoodIter
410 class GoodIter { class
412 GoodIter() {} in GoodIter() function in GoodIter
413 GoodIter(const GoodIter &) {} in GoodIter() function in GoodIter
414 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
415 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
416 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
417 GoodIter &operator+=(int x) { return *this; } in operator +=()
418 GoodIter &operator-=(int x) { return *this; } in operator -=()
419 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
420 GoodIter operator++() { return *this; } in operator ++()
421 GoodIter operator--() { return *this; } in operator --()
423 bool operator<(GoodIter a) { return true; } in operator <()
424 bool operator<=(GoodIter a) { return true; } in operator <=()
425 bool operator>=(GoodIter a) { return false; } in operator >=()
444 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
446 GoodIter operator-(GoodIter a) { return a; } in operator -()
449 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
451 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
454 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
456 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
459 GoodIter begin, end; in test_with_random_access_iterator()
463 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
468 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
472 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
477 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
482 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
487 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
492 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
496 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
516 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
521 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
526 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
532 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
536 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
541 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
547 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
552 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
657 GoodIter begin, end; in test_with_template()
658 TC<GoodIter, 100> t1; in test_with_template()
659 TC<GoodIter, -100> t2; in test_with_template()