Lines Matching refs:GoodIter

329 class GoodIter {  class
331 GoodIter() {} in GoodIter() function in GoodIter
332 GoodIter(const GoodIter &) {} in GoodIter() function in GoodIter
333 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
334 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
335 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
336 GoodIter &operator+=(int x) { return *this; } in operator +=()
337 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
338 GoodIter operator++() { return *this; } in operator ++()
339 GoodIter operator--() { return *this; } in operator --()
341 bool operator<(GoodIter a) { return true; } in operator <()
342 bool operator<=(GoodIter a) { return true; } in operator <=()
343 bool operator>=(GoodIter a) { return false; } in operator >=()
349 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
351 GoodIter operator-(GoodIter a) { return a; } in operator -()
354 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
356 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
359 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
361 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
364 GoodIter begin, end; in test_with_random_access_iterator()
367 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
371 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
374 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
378 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
382 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
386 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
390 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
393 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
409 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
413 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
417 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
422 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
425 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
429 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
434 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
438 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
526 GoodIter begin, end; in test_with_template()
527 TC<GoodIter, 100> t1; in test_with_template()
528 TC<GoodIter, -100> t2; in test_with_template()