Lines Matching refs:CheckCommonReferenceWith

20 constexpr bool CheckCommonReferenceWith() noexcept {  in CheckCommonReferenceWith()  function
53 static_assert(CheckCommonReferenceWith<int, int>());
54 static_assert(CheckCommonReferenceWith<int, long>());
55 static_assert(CheckCommonReferenceWith<int, unsigned char>());
57 static_assert(CheckCommonReferenceWith<int, __int128_t>());
59 static_assert(CheckCommonReferenceWith<int, double>());
62 static_assert(CheckCommonReferenceWith<int[5], int[5]>());
65 static_assert(CheckCommonReferenceWith<int*, void*>());
66 static_assert(CheckCommonReferenceWith<int*, const void*>());
67 static_assert(CheckCommonReferenceWith<int*, volatile void*>());
68 static_assert(CheckCommonReferenceWith<int*, const volatile void*>());
69 static_assert(CheckCommonReferenceWith<const int*, void*>());
70 static_assert(CheckCommonReferenceWith<const int*, const void*>());
71 static_assert(CheckCommonReferenceWith<const int*, volatile void*>());
72 static_assert(CheckCommonReferenceWith<const int*, const volatile void*>());
73 static_assert(CheckCommonReferenceWith<volatile int*, void*>());
74 static_assert(CheckCommonReferenceWith<volatile int*, const void*>());
75 static_assert(CheckCommonReferenceWith<volatile int*, volatile void*>());
76 static_assert(CheckCommonReferenceWith<volatile int*, const volatile void*>());
77 static_assert(CheckCommonReferenceWith<const volatile int*, void*>());
78 static_assert(CheckCommonReferenceWith<const volatile int*, const void*>());
79 static_assert(CheckCommonReferenceWith<const volatile int*, volatile void*>());
81 CheckCommonReferenceWith<const volatile int*, const volatile void*>());
83 static_assert(CheckCommonReferenceWith<int (*)(), int (*)()>());
84 static_assert(CheckCommonReferenceWith<int (*)(), int (*)() noexcept>());
86 static_assert(CheckCommonReferenceWith<int S::*, int S::*>());
87 static_assert(CheckCommonReferenceWith<int S::*, const int S::*>());
88 static_assert(CheckCommonReferenceWith<int (S::*)(), int (S::*)()>());
89 static_assert(CheckCommonReferenceWith<int (S::*)(), int (S::*)() noexcept>());
91 CheckCommonReferenceWith<int (S::*)() const, int (S::*)() const>());
92 static_assert(CheckCommonReferenceWith<int (S::*)() const,
95 CheckCommonReferenceWith<int (S::*)() volatile, int (S::*)() volatile>());
96 static_assert(CheckCommonReferenceWith<int (S::*)() volatile,
98 static_assert(CheckCommonReferenceWith<int (S::*)() const volatile,
100 static_assert(CheckCommonReferenceWith<int (S::*)() const volatile,