Lines Matching refs:GoodIter
323 class GoodIter { class
325 GoodIter() {} in GoodIter() function in GoodIter
326 GoodIter(const GoodIter &) {} in GoodIter() function in GoodIter
327 GoodIter(int fst, int snd) {} in GoodIter() function in GoodIter
328 GoodIter &operator=(const GoodIter &that) { return *this; } in operator =()
329 GoodIter &operator=(const Iter0 &that) { return *this; } in operator =()
330 GoodIter &operator+=(int x) { return *this; } in operator +=()
331 explicit GoodIter(void *) {} in GoodIter() function in GoodIter
332 GoodIter operator++() { return *this; } in operator ++()
333 GoodIter operator--() { return *this; } in operator --()
335 bool operator<(GoodIter a) { return true; } in operator <()
336 bool operator<=(GoodIter a) { return true; } in operator <=()
337 bool operator>=(GoodIter a) { return false; } in operator >=()
343 int operator-(GoodIter a, GoodIter b) { return 0; } in operator -()
345 GoodIter operator-(GoodIter a) { return a; } in operator -()
348 GoodIter operator-(GoodIter a, int v) { return GoodIter(); } in operator -()
350 GoodIter operator+(GoodIter a, int v) { return GoodIter(); } in operator +()
353 GoodIter operator-(int v, GoodIter a) { return GoodIter(); } in operator -()
355 GoodIter operator+(int v, GoodIter a) { return GoodIter(); } in operator +()
358 GoodIter begin, end; in test_with_random_access_iterator()
361 for (GoodIter I = begin; I < end; ++I) in test_with_random_access_iterator()
365 for (GoodIter &I = begin; I < end; ++I) in test_with_random_access_iterator()
368 for (GoodIter I = begin; I >= end; --I) in test_with_random_access_iterator()
372 for (GoodIter I(begin); I < end; ++I) in test_with_random_access_iterator()
376 for (GoodIter I(nullptr); I < end; ++I) in test_with_random_access_iterator()
380 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator()
384 for (GoodIter I(1, 2); I < end; ++I) in test_with_random_access_iterator()
387 for (begin = GoodIter(0); begin < end; ++begin) in test_with_random_access_iterator()
403 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator()
407 for (GoodIter I = begin; begin < end; ++I) in test_with_random_access_iterator()
411 for (GoodIter I = begin; !I; ++I) in test_with_random_access_iterator()
416 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator()
419 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator()
423 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator()
428 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator()
432 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator()
520 GoodIter begin, end; in test_with_template()
521 TC<GoodIter, 100> t1; in test_with_template()
522 TC<GoodIter, -100> t2; in test_with_template()