Lines Matching refs:ih
83 int ih[] = {0, 1, 1};
84 const unsigned sh = sizeof(ih)/sizeof(ih[0]);
85 r = std::unique(Iter(ih), Iter(ih+sh));
86 assert(base(r) == ih + 2);
87 assert(ih[0] == 0);
88 assert(ih[1] == 1);
160 Ptr ih[3];
161 ih[1].reset(&one);
162 ih[2].reset(&one);
163 const unsigned sh = sizeof(ih)/sizeof(ih[0]);
164 r = std::unique(Iter(ih), Iter(ih+sh));
165 assert(base(r) == ih + 2);
166 assert(ih[0] == 0);
167 assert(*ih[1] == 1);