Lines Matching refs:GoodIter

362 class GoodIter {  class
364 GoodIter() { } in GoodIter() function in GoodIter
365 GoodIter(const GoodIter &) { } in GoodIter() function in GoodIter
366 GoodIter(int fst, int snd) { } in GoodIter() function in GoodIter
367 GoodIter &operator =(const GoodIter &that) { return *this; } in operator =()
368 GoodIter &operator =(const Iter0 &that) { return *this; } in operator =()
369 GoodIter &operator +=(int x) { return *this; } in operator +=()
370 explicit GoodIter(void *) { } in GoodIter() function in GoodIter
371 GoodIter operator ++() { return *this; } in operator ++()
372 GoodIter operator --() { return *this; } in operator --()
374 bool operator <(GoodIter a) { return true; } in operator <()
375 bool operator <=(GoodIter a) { return true; } in operator <=()
376 bool operator >=(GoodIter a) { return false; } in operator >=()
381 int operator -(GoodIter a, GoodIter b) { return 0; } in operator -()
383 GoodIter operator -(GoodIter a) { return a; } in operator -()
385 GoodIter operator -(GoodIter a, int v) { return GoodIter(); } in operator -()
386 GoodIter operator +(GoodIter a, int v) { return GoodIter(); } in operator +()
388 GoodIter operator -(int v, GoodIter a) { return GoodIter(); } in operator -()
389 GoodIter operator +(int v, GoodIter a) { return GoodIter(); } in operator +()
392 GoodIter begin, end; in test_with_random_access_iterator()
395 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
399 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
402 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
406 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
410 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
414 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
418 for (GoodIter I(1,2); I < end; ++I) in test_with_random_access_iterator()
421 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
424 for (begin = GoodIter(1,2); begin < end; ++begin) in test_with_random_access_iterator()
435 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
439 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
443 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
448 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
451 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
455 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
460 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
464 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
552 GoodIter begin, end; in test_with_template()
553 TC<GoodIter, 100> t1; in test_with_template()
554 TC<GoodIter, -100> t2; in test_with_template()