Lines Matching refs:GoodIter
315 class GoodIter {
317 GoodIter() { }
318 GoodIter(const GoodIter &) { }
319 GoodIter(int fst, int snd) { }
320 GoodIter &operator =(const GoodIter &that) { return *this; }
321 GoodIter &operator =(const Iter0 &that) { return *this; }
322 GoodIter &operator +=(int x) { return *this; }
323 explicit GoodIter(void *) { }
324 GoodIter operator ++() { return *this; }
325 GoodIter operator --() { return *this; }
327 bool operator <(GoodIter a) { return true; }
328 bool operator <=(GoodIter a) { return true; }
329 bool operator >=(GoodIter a) { return false; }
333 int operator -(GoodIter a, GoodIter b) { return 0; }
334 GoodIter operator -(GoodIter a) { return a; }
335 GoodIter operator -(GoodIter a, int v) { return GoodIter(); }
336 GoodIter operator +(GoodIter a, int v) { return GoodIter(); }
337 GoodIter operator -(int v, GoodIter a) { return GoodIter(); }
338 GoodIter operator +(int v, GoodIter a) { return GoodIter(); }
341 GoodIter begin, end;
344 for (GoodIter I = begin; I < end; ++I)
348 for (GoodIter &I = begin; I < end; ++I)
351 for (GoodIter I = begin; I >= end; --I)
355 for (GoodIter I(begin); I < end; ++I)
359 for (GoodIter I(nullptr); I < end; ++I)
363 for (GoodIter I(0); I < end; ++I)
367 for (GoodIter I(1,2); I < end; ++I)
370 for (begin = GoodIter(0); begin < end; ++begin)
384 for (GoodIter I = begin; I - I; ++I)
388 for (GoodIter I = begin; begin < end; ++I)
392 for (GoodIter I = begin; !I; ++I)
397 for (GoodIter I = begin; I >= end; I = I + 1)
400 for (GoodIter I = begin; I >= end; I = I - 1)
404 for (GoodIter I = begin; I >= end; I = -I)
409 for (GoodIter I = begin; I >= end; I = 2 + I)
413 for (GoodIter I = begin; I >= end; I = 2 - I)
493 GoodIter begin, end;
494 TC<GoodIter, 100> t1;
495 TC<GoodIter, -100> t2;
497 t2.dotest_lt(begin, end); // expected-note {{in instantiation of member function 'TC<GoodIter, -100>::dotest_lt' requested here}}
498 dotest_gt(begin, end); // expected-note {{in instantiation of function template specialization 'dotest_gt<GoodIter, 0>' requested here}}