Lines Matching refs:GoodIter

334 class GoodIter {  class
336 GoodIter() { } in GoodIter() function in GoodIter
337 GoodIter(const GoodIter &) { } in GoodIter() argument
338 GoodIter(int fst, int snd) { } in GoodIter() function in GoodIter
339 GoodIter &operator =(const GoodIter &that) { return *this; } in operator =()
340 GoodIter &operator =(const Iter0 &that) { return *this; } in operator =()
341 GoodIter &operator +=(int x) { return *this; } in operator +=()
342 explicit GoodIter(void *) { } in GoodIter() function in GoodIter
343 GoodIter operator ++() { return *this; } in operator ++()
344 GoodIter operator --() { return *this; } in operator --()
346 bool operator <(GoodIter a) { return true; } in operator <()
347 bool operator <=(GoodIter a) { return true; } in operator <=()
348 bool operator >=(GoodIter a) { return false; } in operator >=()
353 int operator -(GoodIter a, GoodIter b) { return 0; } in operator -()
355 GoodIter operator -(GoodIter a) { return a; } in operator -()
357 GoodIter operator -(GoodIter a, int v) { return GoodIter(); } in operator -()
358 GoodIter operator +(GoodIter a, int v) { return GoodIter(); } in operator +()
360 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()
396 for (begin = GoodIter(1,2); begin < end; ++begin) in test_with_random_access_iterator()
407 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
411 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
415 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
420 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
423 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
427 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
432 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
436 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
524 GoodIter begin, end; in test_with_template()
525 TC<GoodIter, 100> t1; in test_with_template()
526 TC<GoodIter, -100> t2; in test_with_template()