Lines Matching full:have
6 // A non-type template-parameter shall not be declared to have
10 template<double d> class X; // cxx17-error{{cannot have type}}
18 template<A a> class X0b; // cxx17-error{{cannot have type 'A' before C++20}}
31 template<_Complex float ci> struct ComplexFloat; // cxx17-error {{cannot have type '_Complex float'…
32 template<_Complex int ci> struct ComplexInt; // cxx17-error {{cannot have type '_Complex int' befor…
36 template<_Atomic float ci> struct AtomicFloat; // expected-error {{cannot have type '_Atomic(float)…
37 template<_Atomic int ci> struct AtomicInt; // expected-error {{cannot have type '_Atomic(int)'}}
42 template<VI4> struct VectorInt; // cxx17-error {{cannot have type 'VI4'}}
43 template<VF4> struct VectorFloat; // cxx17-error {{cannot have type 'VF4'}}
71 template<B> struct ClassNTTP {}; // cxx17-error {{cannot have type 'B'}}
73 template<RRef> struct WithRRef {}; // cxx17-error {{cannot have type 'RRef'}}
78 template<BadBase> struct WithBadBase {}; // cxx17-error {{cannot have type}} cxx20-error {{is not a…
83 template<BadField> struct WithBadField {}; // cxx17-error {{cannot have type}} cxx20-error {{is not…
88 template<BadFieldArray> struct WithBadFieldArray {}; // cxx17-error {{cannot have type}} cxx20-erro…
92 template<ProtectedBase> struct WithProtectedBase {}; // cxx17-error {{cannot have type}} cxx20-erro…
96 template<PrivateBase> struct WithPrivateBase {}; // cxx17-error {{cannot have type}} cxx20-error {{…
100 template<Private2Base> struct WithPrivate2Base {}; // cxx17-error {{cannot have type}} cxx20-error …
106 template<ProtectedField> struct WithProtectedField {}; // cxx17-error {{cannot have type}} cxx20-er…
112 template<PrivateField> struct WithPrivateField {}; // cxx17-error {{cannot have type}} cxx20-error …
117 template<Private2Field> struct WithPrivate2Field {}; // cxx17-error {{cannot have type}} cxx20-erro…
122 template<MutableField> struct WithMutableField {}; // cxx17-error {{cannot have type}} cxx20-error …
125 template<BadExtType<_Atomic float> > struct AtomicFloatField; // cxx17-error {{cannot have type}} c…
126 template<BadExtType<_Atomic int> > struct AtomicInt; // cxx17-error {{cannot have type}} cxx20-erro…