Lines Matching refs:GoodIter
397 class GoodIter { class
399 GoodIter() {} in GoodIter() function in GoodIter
400 GoodIter(const GoodIter &) {} in GoodIter() argument
401 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
402 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
403 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
404 GoodIter &operator+=(int x) { return *this; } in operator +=()
405 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
406 GoodIter operator++() { return *this; } in operator ++()
407 GoodIter operator--() { return *this; } in operator --()
409 bool operator<(GoodIter a) { return true; } in operator <()
410 bool operator<=(GoodIter a) { return true; } in operator <=()
411 bool operator>=(GoodIter a) { return false; } in operator >=()
417 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
419 GoodIter operator-(GoodIter a) { return a; } in operator -()
422 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
424 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
427 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
429 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
432 GoodIter begin, end; in test_with_random_access_iterator()
436 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
441 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
445 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
450 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
455 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
460 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
465 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
469 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
489 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
494 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
499 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
505 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
509 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
514 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
520 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
525 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
625 GoodIter begin, end; in test_with_template()
626 TC<GoodIter, 100> t1; in test_with_template()
627 TC<GoodIter, -100> t2; in test_with_template()