File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -179,19 +179,19 @@ template <class _Tp, class _ElementType>
179
179
struct __is_span_compatible_container <_Tp, _ElementType,
180
180
void_t <
181
181
// is not a specialization of span
182
- typename enable_if <!__is_span<_Tp>::value, nullptr_t >::type ,
182
+ enable_if_t <!__is_span<_Tp>::value, nullptr_t >,
183
183
// is not a specialization of array
184
- typename enable_if <!__is_std_array<_Tp>::value, nullptr_t >::type ,
184
+ enable_if_t <!__is_std_array<_Tp>::value, nullptr_t >,
185
185
// is_array_v<Container> is false,
186
- typename enable_if <!is_array_v<_Tp>, nullptr_t >::type ,
186
+ enable_if_t <!is_array_v<_Tp>, nullptr_t >,
187
187
// data(cont) and size(cont) are well formed
188
188
decltype (data(declval<_Tp>())),
189
189
decltype(size(declval<_Tp>())),
190
190
// remove_pointer_t<decltype(data(cont))>(*)[] is convertible to ElementType(*)[]
191
- typename enable_if <
191
+ enable_if_t <
192
192
is_convertible_v<remove_pointer_t<decltype(data(declval<_Tp &>()))>(*)[],
193
193
_ElementType(*)[]>,
194
- nullptr_t>::type
194
+ nullptr_t>
195
195
>>
196
196
: public true_type {};
197
197
You can’t perform that action at this time.
0 commit comments