Lines Matching full:static_assert
6 static_assert(B == __has_trivial_copy(T), "");
7 static_assert(B == __is_trivially_constructible(T, T), "");
8 static_assert(B == __is_trivially_constructible(T, const T &), "");
9 static_assert(B == __is_trivially_constructible(T, T &&), "");
57 static_assert(!__is_trivially_constructible(MutableTemplateCtorMember, const MutableTemplateCtorMember &), "");
58 static_assert(__is_trivially_constructible(MutableTemplateCtorMember, MutableTemplateCtorMember &&), "");
64 static_assert(!__is_trivially_constructible(MutableTemplateCtorMember2, const MutableTemplateCtorMember2 &), "");
65 static_assert(__is_trivially_constructible(MutableTemplateCtorMember2, MutableTemplateCtorMember2 &&), "");
76 static_assert(!__has_trivial_copy(TNT), "lie deliberately for gcc compatibility");
77 static_assert(__is_trivially_constructible(TNT, TNT), "");
78 static_assert(!__is_trivially_constructible(TNT, TNT &), "");
79 static_assert(__is_trivially_constructible(TNT, const TNT &), "");
80 static_assert(!__is_trivially_constructible(TNT, volatile TNT &), "");
81 static_assert(__is_trivially_constructible(TNT, TNT &&), "");
82 static_assert(!__is_trivially_constructible(TNT, const TNT &&), "");
83 static_assert(!__is_trivially_constructible(TNT, volatile TNT &&), "");
88 static_assert(__has_trivial_copy(DerivedFromTNT), "");
89 static_assert(__is_trivially_constructible(DerivedFromTNT, DerivedFromTNT), "");
90 static_assert(__is_trivially_constructible(DerivedFromTNT, DerivedFromTNT &), "");
91 static_assert(__is_trivially_constructible(DerivedFromTNT, const DerivedFromTNT &), "");
92 static_assert(!__is_trivially_constructible(DerivedFromTNT, volatile DerivedFromTNT &), "");
93 static_assert(__is_trivially_constructible(DerivedFromTNT, DerivedFromTNT &&), "");
94 static_assert(__is_trivially_constructible(DerivedFromTNT, const DerivedFromTNT &&), "");
95 static_assert(!__is_trivially_constructible(DerivedFromTNT, volatile DerivedFromTNT &&), "");
102 static_assert(__has_trivial_copy(TNTMember), "");
103 static_assert(__is_trivially_constructible(TNTMember, TNTMember), "");
104 static_assert(__is_trivially_constructible(TNTMember, TNTMember &), "");
105 static_assert(__is_trivially_constructible(TNTMember, const TNTMember &), "");
106 static_assert(!__is_trivially_constructible(TNTMember, volatile TNTMember &), "");
107 static_assert(__is_trivially_constructible(TNTMember, TNTMember &&), "");
108 static_assert(__is_trivially_constructible(TNTMember, const TNTMember &&), "");
109 static_assert(!__is_trivially_constructible(TNTMember, volatile TNTMember &&), "");
113 static_assert(!__has_trivial_copy(NCCTNT), "");
114 static_assert(!__is_trivially_constructible(NCCTNT, NCCTNT), "");
115 static_assert(!__is_trivially_constructible(NCCTNT, NCCTNT &), "");
116 static_assert(!__is_trivially_constructible(NCCTNT, const NCCTNT &), "");
117 static_assert(!__is_trivially_constructible(NCCTNT, volatile NCCTNT &), "");
118 static_assert(!__is_trivially_constructible(NCCTNT, NCCTNT &&), "");
119 static_assert(!__is_trivially_constructible(NCCTNT, const NCCTNT &&), "");
120 static_assert(!__is_trivially_constructible(NCCTNT, volatile NCCTNT &&), "");
126 static_assert(__is_trivially_constructible(TemplateCtorNoMove, const TemplateCtorNoMove &), "");
127 static_assert(!__is_trivially_constructible(TemplateCtorNoMove, TemplateCtorNoMove &&), "");
132 static_assert(__is_trivially_constructible(UseTemplateCtorNoMove, const UseTemplateCtorNoMove &), "");
133 static_assert(!__is_trivially_constructible(UseTemplateCtorNoMove, UseTemplateCtorNoMove &&), "");
139 static_assert(__is_trivially_constructible(TemplateCtorNoMoveSFINAE, const TemplateCtorNoMoveSFINAE &), "");
140 static_assert(__is_trivially_constructible(TemplateCtorNoMoveSFINAE, TemplateCtorNoMoveSFINAE &&), "");
145 static_assert(__is_trivially_constructible(UseTemplateCtorNoMoveSFINAE, const UseTemplateCtorNoMoveSFINAE &), "");
146 static_assert(__is_trivially_constructible(UseTemplateCtorNoMoveSFINAE, UseTemplateCtorNoMoveSFINAE &&), "");
155 static_assert(__is_trivially_constructible(PrivateMove, const PrivateMove &), "");
156 static_assert(!__is_trivially_constructible(PrivateMove, PrivateMove &&), "");
163 static_assert(__is_trivially_constructible(NoAccess, const NoAccess &), "");
164 static_assert(__is_trivially_constructible(NoAccess, NoAccess &&), "");
166 static_assert(__is_trivially_constructible(TopNoAccess, const TopNoAccess &), "");
167 static_assert(__is_trivially_constructible(TopNoAccess, TopNoAccess &&), "");
174 static_assert(__is_trivially_constructible(Access, const Access &), "");
175 static_assert(!__is_trivially_constructible(Access, Access &&), "");
177 static_assert(__is_trivially_constructible(TopAccess, const TopAccess &), "");
178 static_assert(!__is_trivially_constructible(TopAccess, TopAccess &&), "");
197 static_assert(__has_trivial_copy(Test), "");
199 static_assert(!__is_trivially_constructible(Test, const Test &), "");
201 static_assert(!__is_trivially_constructible(Test, Test &&), "");
212 static_assert(__has_trivial_copy(Test2), "");
213 static_assert(__is_trivially_constructible(Test2, const Test2 &), "");
215 static_assert(__is_trivially_constructible(Test2, Test2 &&), "");