Lines Matching refs:Base
35 struct Base {}; struct
36 struct Derived : Base {};
37 struct Derived2 : Base {};
39 struct Private : private Base {};
40 struct Protected : protected Base {};
104 assert_catches< Base * , Derived *, Derived>(); in f1()
105 assert_catches<const Base * , Derived *, Derived>(); in f1()
106 assert_catches< volatile Base * , Derived *, Derived>(); in f1()
107 assert_catches<const volatile Base * , Derived *, Derived>(); in f1()
108 assert_catches< Base * const , Derived *, Derived>(); in f1()
109 assert_catches<const Base * const , Derived *, Derived>(); in f1()
110 assert_catches< volatile Base * const , Derived *, Derived>(); in f1()
111 assert_catches<const volatile Base * const , Derived *, Derived>(); in f1()
112 assert_catches< Base * volatile, Derived *, Derived>(); in f1()
113 assert_catches<const Base * volatile, Derived *, Derived>(); in f1()
114 assert_catches< volatile Base * volatile, Derived *, Derived>(); in f1()
115 assert_catches<const volatile Base * volatile, Derived *, Derived>(); in f1()
116 assert_catches< Base * const volatile, Derived *, Derived>(); in f1()
117 assert_catches<const Base * const volatile, Derived *, Derived>(); in f1()
118 assert_catches< volatile Base * const volatile, Derived *, Derived>(); in f1()
119 assert_catches<const volatile Base * const volatile, Derived *, Derived>(); in f1()
128 assert_catches< Base * , Base *, Derived>(); in f2()
129 assert_catches<const Base * , Base *, Derived>(); in f2()
130 assert_catches< volatile Base * , Base *, Derived>(); in f2()
131 assert_catches<const volatile Base * , Base *, Derived>(); in f2()
132 assert_catches< Base * const , Base *, Derived>(); in f2()
133 assert_catches<const Base * const , Base *, Derived>(); in f2()
134 assert_catches< volatile Base * const , Base *, Derived>(); in f2()
135 assert_catches<const volatile Base * const , Base *, Derived>(); in f2()
136 assert_catches< Base * volatile, Base *, Derived>(); in f2()
137 assert_catches<const Base * volatile, Base *, Derived>(); in f2()
138 assert_catches< volatile Base * volatile, Base *, Derived>(); in f2()
139 assert_catches<const volatile Base * volatile, Base *, Derived>(); in f2()
140 assert_catches< Base * const volatile, Base *, Derived>(); in f2()
141 assert_catches<const Base * const volatile, Base *, Derived>(); in f2()
142 assert_catches< volatile Base * const volatile, Base *, Derived>(); in f2()
143 assert_catches<const volatile Base * const volatile, Base *, Derived>(); in f2()
176 assert_cannot_catch< Derived * , Base *, Derived>(); in f4()
177 assert_cannot_catch<const Derived * , Base *, Derived>(); in f4()
178 assert_cannot_catch< volatile Derived * , Base *, Derived>(); in f4()
179 assert_cannot_catch<const volatile Derived * , Base *, Derived>(); in f4()
180 assert_cannot_catch< Derived * const , Base *, Derived>(); in f4()
181 assert_cannot_catch<const Derived * const , Base *, Derived>(); in f4()
182 assert_cannot_catch< volatile Derived * const , Base *, Derived>(); in f4()
183 assert_cannot_catch<const volatile Derived * const , Base *, Derived>(); in f4()
184 assert_cannot_catch< Derived * volatile, Base *, Derived>(); in f4()
185 assert_cannot_catch<const Derived * volatile, Base *, Derived>(); in f4()
186 assert_cannot_catch< volatile Derived * volatile, Base *, Derived>(); in f4()
187 assert_cannot_catch<const volatile Derived * volatile, Base *, Derived>(); in f4()
188 assert_cannot_catch< Derived * const volatile, Base *, Derived>(); in f4()
189 assert_cannot_catch<const Derived * const volatile, Base *, Derived>(); in f4()
190 assert_cannot_catch< volatile Derived * const volatile, Base *, Derived>(); in f4()
191 assert_cannot_catch<const volatile Derived * const volatile, Base *, Derived>(); in f4()
224 assert_catches< Base * &, Base *, Derived>(); in f6()
225 assert_catches<const Base * &, Base *, Derived>(); in f6()
226 assert_catches< volatile Base * &, Base *, Derived>(); in f6()
227 assert_catches<const volatile Base * &, Base *, Derived>(); in f6()
228 assert_catches< Base * const &, Base *, Derived>(); in f6()
229 assert_catches<const Base * const &, Base *, Derived>(); in f6()
230 assert_catches< volatile Base * const &, Base *, Derived>(); in f6()
231 assert_catches<const volatile Base * const &, Base *, Derived>(); in f6()
232 assert_catches< Base * volatile &, Base *, Derived>(); in f6()
233 assert_catches<const Base * volatile &, Base *, Derived>(); in f6()
234 assert_catches< volatile Base * volatile &, Base *, Derived>(); in f6()
235 assert_catches<const volatile Base * volatile &, Base *, Derived>(); in f6()
236 assert_catches< Base * const volatile &, Base *, Derived>(); in f6()
237 assert_catches<const Base * const volatile &, Base *, Derived>(); in f6()
238 assert_catches< volatile Base * const volatile &, Base *, Derived>(); in f6()
239 assert_catches<const volatile Base * const volatile &, Base *, Derived>(); in f6()
249 assert_cannot_catch< Derived * &, Base *, Derived>(); in f7()
250 assert_cannot_catch<const Derived * &, Base *, Derived>(); in f7()
251 assert_cannot_catch< volatile Derived * &, Base *, Derived>(); in f7()
252 assert_cannot_catch<const volatile Derived * &, Base *, Derived>(); in f7()
253 assert_cannot_catch< Derived * const &, Base *, Derived>(); in f7()
254 assert_cannot_catch<const Derived * const &, Base *, Derived>(); in f7()
255 assert_cannot_catch< volatile Derived * const &, Base *, Derived>(); in f7()
256 assert_cannot_catch<const volatile Derived * const &, Base *, Derived>(); in f7()
257 assert_cannot_catch< Derived * volatile &, Base *, Derived>(); in f7()
258 assert_cannot_catch<const Derived * volatile &, Base *, Derived>(); in f7()
259 assert_cannot_catch< volatile Derived * volatile &, Base *, Derived>(); in f7()
260 assert_cannot_catch<const volatile Derived * volatile &, Base *, Derived>(); in f7()
261 assert_cannot_catch< Derived * const volatile &, Base *, Derived>(); in f7()
262 assert_cannot_catch<const Derived * const volatile &, Base *, Derived>(); in f7()
263 assert_cannot_catch< volatile Derived * const volatile &, Base *, Derived>(); in f7()
264 assert_cannot_catch<const volatile Derived * const volatile &, Base *, Derived>(); in f7()
293 assert_catches< Base * &, Derived *, Derived>(); in f8()
294 assert_catches<const Base * &, Derived *, Derived>(); in f8()
295 assert_catches< volatile Base * &, Derived *, Derived>(); in f8()
296 assert_catches<const volatile Base * &, Derived *, Derived>(); in f8()
297 assert_catches< Base * const &, Derived *, Derived>(); in f8()
298 assert_catches<const Base * const &, Derived *, Derived>(); in f8()
299 assert_catches< volatile Base * const &, Derived *, Derived>(); in f8()
300 assert_catches<const volatile Base * const &, Derived *, Derived>(); in f8()
301 assert_catches< Base * volatile &, Derived *, Derived>(); in f8()
302 assert_catches<const Base * volatile &, Derived *, Derived>(); in f8()
303 assert_catches< volatile Base * volatile &, Derived *, Derived>(); in f8()
304 assert_catches<const volatile Base * volatile &, Derived *, Derived>(); in f8()
305 assert_catches< Base * const volatile &, Derived *, Derived>(); in f8()
306 assert_catches<const Base * const volatile &, Derived *, Derived>(); in f8()
307 assert_catches< volatile Base * const volatile &, Derived *, Derived>(); in f8()
308 assert_catches<const volatile Base * const volatile &, Derived *, Derived>(); in f8()
317 assert_cannot_catch< Base * , Ambiguous *, Ambiguous>(); in f9()
318 assert_cannot_catch<const Base * , Ambiguous *, Ambiguous>(); in f9()
319 assert_cannot_catch< volatile Base * , Ambiguous *, Ambiguous>(); in f9()
320 assert_cannot_catch<const volatile Base * , Ambiguous *, Ambiguous>(); in f9()
321 assert_cannot_catch< Base * const , Ambiguous *, Ambiguous>(); in f9()
322 assert_cannot_catch<const Base * const , Ambiguous *, Ambiguous>(); in f9()
323 assert_cannot_catch< volatile Base * const , Ambiguous *, Ambiguous>(); in f9()
324 assert_cannot_catch<const volatile Base * const , Ambiguous *, Ambiguous>(); in f9()
325 assert_cannot_catch< Base * volatile, Ambiguous *, Ambiguous>(); in f9()
326 assert_cannot_catch<const Base * volatile, Ambiguous *, Ambiguous>(); in f9()
327 assert_cannot_catch< volatile Base * volatile, Ambiguous *, Ambiguous>(); in f9()
328 assert_cannot_catch<const volatile Base * volatile, Ambiguous *, Ambiguous>(); in f9()
329 assert_cannot_catch< Base * const volatile, Ambiguous *, Ambiguous>(); in f9()
330 assert_cannot_catch<const Base * const volatile, Ambiguous *, Ambiguous>(); in f9()
331 assert_cannot_catch< volatile Base * const volatile, Ambiguous *, Ambiguous>(); in f9()
332 assert_cannot_catch<const volatile Base * const volatile, Ambiguous *, Ambiguous>(); in f9()
341 assert_cannot_catch< Base * , Private *, Private>(); in f10()
342 assert_cannot_catch<const Base * , Private *, Private>(); in f10()
343 assert_cannot_catch< volatile Base * , Private *, Private>(); in f10()
344 assert_cannot_catch<const volatile Base * , Private *, Private>(); in f10()
345 assert_cannot_catch< Base * const , Private *, Private>(); in f10()
346 assert_cannot_catch<const Base * const , Private *, Private>(); in f10()
347 assert_cannot_catch< volatile Base * const , Private *, Private>(); in f10()
348 assert_cannot_catch<const volatile Base * const , Private *, Private>(); in f10()
349 assert_cannot_catch< Base * volatile, Private *, Private>(); in f10()
350 assert_cannot_catch<const Base * volatile, Private *, Private>(); in f10()
351 assert_cannot_catch< volatile Base * volatile, Private *, Private>(); in f10()
352 assert_cannot_catch<const volatile Base * volatile, Private *, Private>(); in f10()
353 assert_cannot_catch< Base * const volatile, Private *, Private>(); in f10()
354 assert_cannot_catch<const Base * const volatile, Private *, Private>(); in f10()
355 assert_cannot_catch< volatile Base * const volatile, Private *, Private>(); in f10()
356 assert_cannot_catch<const volatile Base * const volatile, Private *, Private>(); in f10()
365 assert_cannot_catch< Base * , Protected *, Protected>(); in f11()
366 assert_cannot_catch<const Base * , Protected *, Protected>(); in f11()
367 assert_cannot_catch< volatile Base * , Protected *, Protected>(); in f11()
368 assert_cannot_catch<const volatile Base * , Protected *, Protected>(); in f11()
369 assert_cannot_catch< Base * const , Protected *, Protected>(); in f11()
370 assert_cannot_catch<const Base * const , Protected *, Protected>(); in f11()
371 assert_cannot_catch< volatile Base * const , Protected *, Protected>(); in f11()
372 assert_cannot_catch<const volatile Base * const , Protected *, Protected>(); in f11()
373 assert_cannot_catch< Base * volatile, Protected *, Protected>(); in f11()
374 assert_cannot_catch<const Base * volatile, Protected *, Protected>(); in f11()
375 assert_cannot_catch< volatile Base * volatile, Protected *, Protected>(); in f11()
376 assert_cannot_catch<const volatile Base * volatile, Protected *, Protected>(); in f11()
377 assert_cannot_catch< Base * const volatile, Protected *, Protected>(); in f11()
378 assert_cannot_catch<const Base * const volatile, Protected *, Protected>(); in f11()
379 assert_cannot_catch< volatile Base * const volatile, Protected *, Protected>(); in f11()
380 assert_cannot_catch<const volatile Base * const volatile, Protected *, Protected>(); in f11()
389 assert_cannot_catch< Base * &, Private *, Private>(); in f12()
390 assert_cannot_catch<const Base * &, Private *, Private>(); in f12()
391 assert_cannot_catch< volatile Base * &, Private *, Private>(); in f12()
392 assert_cannot_catch<const volatile Base * &, Private *, Private>(); in f12()
393 assert_cannot_catch< Base * const &, Private *, Private>(); in f12()
394 assert_cannot_catch<const Base * const &, Private *, Private>(); in f12()
395 assert_cannot_catch< volatile Base * const &, Private *, Private>(); in f12()
396 assert_cannot_catch<const volatile Base * const &, Private *, Private>(); in f12()
397 assert_cannot_catch< Base * volatile &, Private *, Private>(); in f12()
398 assert_cannot_catch<const Base * volatile &, Private *, Private>(); in f12()
399 assert_cannot_catch< volatile Base * volatile &, Private *, Private>(); in f12()
400 assert_cannot_catch<const volatile Base * volatile &, Private *, Private>(); in f12()
401 assert_cannot_catch< Base * const volatile &, Private *, Private>(); in f12()
402 assert_cannot_catch<const Base * const volatile &, Private *, Private>(); in f12()
403 assert_cannot_catch< volatile Base * const volatile &, Private *, Private>(); in f12()
404 assert_cannot_catch<const volatile Base * const volatile &, Private *, Private>(); in f12()
413 assert_cannot_catch< Base * &, Protected *, Protected>(); in f13()
414 assert_cannot_catch<const Base * &, Protected *, Protected>(); in f13()
415 assert_cannot_catch< volatile Base * &, Protected *, Protected>(); in f13()
416 assert_cannot_catch<const volatile Base * &, Protected *, Protected>(); in f13()
417 assert_cannot_catch< Base * const &, Protected *, Protected>(); in f13()
418 assert_cannot_catch<const Base * const &, Protected *, Protected>(); in f13()
419 assert_cannot_catch< volatile Base * const &, Protected *, Protected>(); in f13()
420 assert_cannot_catch<const volatile Base * const &, Protected *, Protected>(); in f13()
421 assert_cannot_catch< Base * volatile &, Protected *, Protected>(); in f13()
422 assert_cannot_catch<const Base * volatile &, Protected *, Protected>(); in f13()
423 assert_cannot_catch< volatile Base * volatile &, Protected *, Protected>(); in f13()
424 assert_cannot_catch<const volatile Base * volatile &, Protected *, Protected>(); in f13()
425 assert_cannot_catch< Base * const volatile &, Protected *, Protected>(); in f13()
426 assert_cannot_catch<const Base * const volatile &, Protected *, Protected>(); in f13()
427 assert_cannot_catch< volatile Base * const volatile &, Protected *, Protected>(); in f13()
428 assert_cannot_catch<const volatile Base * const volatile &, Protected *, Protected>(); in f13()