Home | History | Annotate | Download | only in alg.unique

Lines Matching refs:ih

70     int ih[] = {0, 1, 1};
71 const unsigned sh = sizeof(ih)/sizeof(ih[0]);
72 r = std::unique(Iter(ih), Iter(ih+sh));
73 assert(base(r) == ih + 2);
74 assert(ih[0] == 0);
75 assert(ih[1] == 1);
147 Ptr ih[3];
148 ih[1].reset(&one);
149 ih[2].reset(&one);
150 const unsigned sh = sizeof(ih)/sizeof(ih[0]);
151 r = std::unique(Iter(ih), Iter(ih+sh));
152 assert(base(r) == ih + 2);
153 assert(ih[0] == 0);
154 assert(*ih[1] == 1);