Lines Matching refs:GoodIter

414 class GoodIter {  class
416 GoodIter() {} in GoodIter() function in GoodIter
417 GoodIter(const GoodIter &) {} in GoodIter() function in GoodIter
418 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
419 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
420 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
421 GoodIter &operator+=(int x) { return *this; } in operator +=()
422 GoodIter &operator-=(int x) { return *this; } in operator -=()
423 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
424 GoodIter operator++() { return *this; } in operator ++()
425 GoodIter operator--() { return *this; } in operator --()
427 bool operator<(GoodIter a) { return true; } in operator <()
428 bool operator<=(GoodIter a) { return true; } in operator <=()
429 bool operator>=(GoodIter a) { return false; } in operator >=()
435 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
437 GoodIter operator-(GoodIter a) { return a; } in operator -()
440 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
442 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
445 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
447 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
450 GoodIter begin, end; in test_with_random_access_iterator()
454 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
459 for (GoodIter &I = begin; I < end; ++I) 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()
473 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
478 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
483 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
487 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
507 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
512 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
517 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
523 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
527 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
532 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
538 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
543 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
644 GoodIter begin, end; in test_with_template()
645 TC<GoodIter, 100> t1; in test_with_template()
646 TC<GoodIter, -100> t2; in test_with_template()