Lines Matching refs:static_assert
6 static_assert(B == __has_trivial_assign(T), "");
7 static_assert(B == __is_trivially_assignable(T&, T), "");
8 static_assert(B == __is_trivially_assignable(T&, const T &), "");
9 static_assert(B == __is_trivially_assignable(T&, T &&), "");
10 static_assert(B == __is_trivially_assignable(T&&, T), "");
11 static_assert(B == __is_trivially_assignable(T&&, const T &), "");
12 static_assert(B == __is_trivially_assignable(T&&, T &&), "");
58 static_assert(!__is_trivially_assignable(MutableTemplateCtorMember, const MutableTemplateCtorMember…
59 static_assert(__is_trivially_assignable(MutableTemplateCtorMember, MutableTemplateCtorMember &&), "…
70 static_assert(!__has_trivial_assign(TNT), "lie deliberately for gcc compatibility");
71 static_assert(__is_trivially_assignable(TNT, TNT), "");
72 static_assert(!__is_trivially_assignable(TNT, TNT &), "");
73 static_assert(__is_trivially_assignable(TNT, const TNT &), "");
74 static_assert(!__is_trivially_assignable(TNT, volatile TNT &), "");
75 static_assert(__is_trivially_assignable(TNT, TNT &&), "");
76 static_assert(!__is_trivially_assignable(TNT, const TNT &&), "");
77 static_assert(!__is_trivially_assignable(TNT, volatile TNT &&), "");
82 static_assert(__has_trivial_assign(DerivedFromTNT), "");
83 static_assert(__is_trivially_assignable(DerivedFromTNT, DerivedFromTNT), "");
84 static_assert(__is_trivially_assignable(DerivedFromTNT, DerivedFromTNT &), "");
85 static_assert(__is_trivially_assignable(DerivedFromTNT, const DerivedFromTNT &), "");
86 static_assert(!__is_trivially_assignable(DerivedFromTNT, volatile DerivedFromTNT &), "");
87 static_assert(__is_trivially_assignable(DerivedFromTNT, DerivedFromTNT &&), "");
88 static_assert(__is_trivially_assignable(DerivedFromTNT, const DerivedFromTNT &&), "");
89 static_assert(!__is_trivially_assignable(DerivedFromTNT, volatile DerivedFromTNT &&), "");
96 static_assert(__has_trivial_assign(TNTMember), "");
97 static_assert(__is_trivially_assignable(TNTMember, TNTMember), "");
98 static_assert(__is_trivially_assignable(TNTMember, TNTMember &), "");
99 static_assert(__is_trivially_assignable(TNTMember, const TNTMember &), "");
100 static_assert(!__is_trivially_assignable(TNTMember, volatile TNTMember &), "");
101 static_assert(__is_trivially_assignable(TNTMember, TNTMember &&), "");
102 static_assert(__is_trivially_assignable(TNTMember, const TNTMember &&), "");
103 static_assert(!__is_trivially_assignable(TNTMember, volatile TNTMember &&), "");
107 static_assert(!__has_trivial_assign(NCCTNT), "");
108 static_assert(!__is_trivially_assignable(NCCTNT, NCCTNT), "");
109 static_assert(!__is_trivially_assignable(NCCTNT, NCCTNT &), "");
110 static_assert(!__is_trivially_assignable(NCCTNT, const NCCTNT &), "");
111 static_assert(!__is_trivially_assignable(NCCTNT, volatile NCCTNT &), "");
112 static_assert(!__is_trivially_assignable(NCCTNT, NCCTNT &&), "");
113 static_assert(!__is_trivially_assignable(NCCTNT, const NCCTNT &&), "");
114 static_assert(!__is_trivially_assignable(NCCTNT, volatile NCCTNT &&), "");
140 static_assert(__is_trivially_assignable(DerivedFromRefQualifier&, const DerivedFromRefQualifier&), …
141 static_assert(__is_trivially_assignable(DerivedFromRefQualifier&&, const DerivedFromRefQualifier&),…
142 static_assert(!__is_trivially_assignable(DerivedFromRefQualifier&, DerivedFromRefQualifier&&), "");
143 static_assert(!__is_trivially_assignable(DerivedFromRefQualifier&&, DerivedFromRefQualifier&&), "");
149 static_assert(__is_trivially_assignable(TemplateAssignNoMove, const TemplateAssignNoMove &), "");
150 static_assert(!__is_trivially_assignable(TemplateAssignNoMove, TemplateAssignNoMove &&), "");
155 static_assert(__is_trivially_assignable(UseTemplateAssignNoMove, const UseTemplateAssignNoMove &), …
156 static_assert(!__is_trivially_assignable(UseTemplateAssignNoMove, UseTemplateAssignNoMove &&), "");
162 static_assert(__is_trivially_assignable(TemplateAssignNoMoveSFINAE, const TemplateAssignNoMoveSFINA…
163 static_assert(__is_trivially_assignable(TemplateAssignNoMoveSFINAE, TemplateAssignNoMoveSFINAE &&),…
168 static_assert(__is_trivially_assignable(UseTemplateAssignNoMoveSFINAE, const UseTemplateAssignNoMov…
169 static_assert(__is_trivially_assignable(UseTemplateAssignNoMoveSFINAE, UseTemplateAssignNoMoveSFINA…
178 static_assert(__is_trivially_assignable(PrivateMove, const PrivateMove &), "");
179 static_assert(!__is_trivially_assignable(PrivateMove, PrivateMove &&), "");
186 static_assert(__is_trivially_assignable(NoAccess, const NoAccess &), "");
187 static_assert(__is_trivially_assignable(NoAccess, NoAccess &&), "");
189 static_assert(__is_trivially_assignable(TopNoAccess, const TopNoAccess &), "");
190 static_assert(__is_trivially_assignable(TopNoAccess, TopNoAccess &&), "");
197 static_assert(__is_trivially_assignable(Access, const Access &), "");
198 static_assert(!__is_trivially_assignable(Access, Access &&), "");
200 static_assert(__is_trivially_assignable(TopAccess, const TopAccess &), "");
201 static_assert(!__is_trivially_assignable(TopAccess, TopAccess &&), "");