@@ -36,22 +36,15 @@ SPECIALIZE_TRAIT(make_unsigned); // expected-error {{cannot be specialize
36
36
SPECIALIZE_TRAIT (remove_all_extents); // expected-error {{cannot be specialized}}
37
37
SPECIALIZE_TRAIT (remove_const); // expected-error {{cannot be specialized}}
38
38
SPECIALIZE_TRAIT (remove_cv); // expected-error {{cannot be specialized}}
39
+ SPECIALIZE_TRAIT (remove_cvref); // expected-error {{cannot be specialized}}
39
40
SPECIALIZE_TRAIT (remove_extent); // expected-error {{cannot be specialized}}
40
41
SPECIALIZE_TRAIT (remove_pointer); // expected-error {{cannot be specialized}}
41
42
SPECIALIZE_TRAIT (remove_reference); // expected-error {{cannot be specialized}}
42
43
SPECIALIZE_TRAIT (remove_volatile); // expected-error {{cannot be specialized}}
44
+ SPECIALIZE_TRAIT (type_identity); // expected-error {{cannot be specialized}}
43
45
SPECIALIZE_TRAIT (underlying_type); // expected-error {{cannot be specialized}}
44
-
45
- # if TEST_STD_VER <= 17
46
- SPECIALIZE_TRAIT (result_of); // expected-error {{cannot be specialized}}
47
- # endif
48
-
49
- # if TEST_STD_VER >= 20
50
- SPECIALIZE_TRAIT (remove_cvref); // expected-error {{cannot be specialized}}
51
- SPECIALIZE_TRAIT (type_identity); // expected-error {{cannot be specialized}}
52
- SPECIALIZE_TRAIT (unwrap_reference); // expected-error {{cannot be specialized}}
53
- SPECIALIZE_TRAIT (unwrap_ref_decay); // expected-error {{cannot be specialized}}
54
- # endif
46
+ SPECIALIZE_TRAIT (unwrap_reference); // expected-error {{cannot be specialized}}
47
+ SPECIALIZE_TRAIT (unwrap_ref_decay); // expected-error {{cannot be specialized}}
55
48
56
49
# undef SPECIALIZE_TRAIT
57
50
# define SPECIALIZE_UTT (Trait ) \
@@ -103,6 +96,7 @@ SPECIALIZE_UTT(is_move_assignable); // expected-error 2 {{cannot
103
96
SPECIALIZE_UTT (is_move_constructible); // expected-error 2 {{cannot be specialized}}
104
97
SPECIALIZE_BTT (is_nothrow_assignable); // expected-error 2 {{cannot be specialized}}
105
98
SPECIALIZE_UTT (is_nothrow_constructible); // expected-error 2 {{cannot be specialized}}
99
+ SPECIALIZE_BTT (is_nothrow_convertible); // expected-error 2 {{cannot be specialized}}
106
100
SPECIALIZE_UTT (is_nothrow_copy_assignable); // expected-error 2 {{cannot be specialized}}
107
101
SPECIALIZE_UTT (is_nothrow_copy_constructible); // expected-error 2 {{cannot be specialized}}
108
102
SPECIALIZE_UTT (is_nothrow_default_constructible); // expected-error 2 {{cannot be specialized}}
@@ -136,6 +130,7 @@ SPECIALIZE_UTT(is_trivially_default_constructible); // expected-error 2 {{cannot
136
130
SPECIALIZE_UTT (is_trivially_destructible); // expected-error 2 {{cannot be specialized}}
137
131
SPECIALIZE_UTT (is_trivially_move_assignable); // expected-error 2 {{cannot be specialized}}
138
132
SPECIALIZE_UTT (is_trivially_move_constructible); // expected-error 2 {{cannot be specialized}}
133
+ SPECIALIZE_UTT (is_unbounded_array); // expected-error 2 {{cannot be specialized}}
139
134
SPECIALIZE_UTT (is_union); // expected-error 2 {{cannot be specialized}}
140
135
SPECIALIZE_UTT (is_unsigned); // expected-error 2 {{cannot be specialized}}
141
136
SPECIALIZE_UTT (is_void); // expected-error 2 {{cannot be specialized}}
@@ -145,12 +140,11 @@ SPECIALIZE_UTT(rank); // expected-error 2 {{cannot
145
140
146
141
# if TEST_STD_VER <= 17
147
142
SPECIALIZE_UTT (is_literal_type); // expected-error 2 {{cannot be specialized}}
143
+ SPECIALIZE_UTT (result_of); // expected-error 2 {{cannot be specialized}}
148
144
# endif
149
145
150
146
# if TEST_STD_VER >= 20
151
- SPECIALIZE_UTT (is_bounded_array); // expected-error 2 {{cannot be specialized}}
152
- SPECIALIZE_BTT (is_nothrow_convertible); // expected-error 2 {{cannot be specialized}}
153
- SPECIALIZE_UTT (is_unbounded_array); // expected-error 2 {{cannot be specialized}}
147
+ SPECIALIZE_UTT (is_bounded_array); // expected-error 2 {{cannot be specialized}}
154
148
# endif
155
149
156
150
# if TEST_STD_VER >= 23
@@ -177,8 +171,6 @@ struct std::conditional<true, S, S>; // expected-error {{cannot be specialized}}
177
171
template <>
178
172
struct std ::enable_if<true , S>; // expected-error {{cannot be specialized}}
179
173
180
- #if TEST_STD_VER >= 20
181
174
template <>
182
175
struct std ::integral_constant<S, {}>; // expected-error {{cannot be specialized}}
183
176
#endif
184
- #endif
0 commit comments