Lines Matching refs:IsEmpty
25 template<typename T> concept IsEmpty = sizeof(T) == EmptySize;
35 template <typename T> requires IsEmpty<T>
41 template <IsEmpty T>
48 Opaque<1> foo() requires IsEmpty<T> { return Opaque<1>(); }; in foo()
64 template <typename T> requires IsEmpty<T>
69 template <typename T> requires IsEmpty<T>
73 template <IsEmpty T>
78 template <IsEmpty T>
83 template <typename T> requires IsEmpty<T> && IsEmpty<T>
97 template <IsEmpty T>
99 template <typename T> requires IsEmpty<T>
102 void foo3() requires IsEmpty<T> {}; // expected-note 2 {{candidate function}} in foo3()
108 template <typename T> requires IsEmpty<T>
110 template <IsEmpty T>
112 template <IsEmpty T>
120 void foo1() requires IsEmpty<T> {}; // expected-note {{candidate function}} in foo1()
122 void foo2() requires IsEmpty<T> {}; // expected-note {{candidate function}} in foo2()
123 template <typename T> requires IsEmpty<T>
142 template <IsEmpty T> Opaque<1> foo() { return Opaque<1>(); } in foo()
145 template <IsEmpty T> Opaque<0> foo() { return Opaque<0>(); } in foo()