@@ -134,7 +134,7 @@ template <template <typename, typename> typename F, typename T, typename Head,
134
134
typename ... Tail>
135
135
struct fold_right_impl <F, T, list<Head, Tail...>> {
136
136
using type =
137
- F<Head, typename fold_right_impl<F, T, list<Tail...>>::type>::type;
137
+ typename F<Head, typename fold_right_impl<F, T, list<Tail...>>::type>::type;
138
138
};
139
139
template <template <typename , typename > typename F, typename T>
140
140
struct fold_right_impl <F, T, list<>> {
@@ -147,7 +147,7 @@ template <template <TYPENAME1, typename> typename F, typename T, TYPENAME1 Head,
147
147
TYPENAME1... Tail>
148
148
struct fold_right1_impl <F, T, list1<Head, Tail...>> {
149
149
using type =
150
- F<Head, typename fold_right1_impl<F, T, list1<Tail...>>::type>::type;
150
+ typename F<Head, typename fold_right1_impl<F, T, list1<Tail...>>::type>::type;
151
151
};
152
152
template <template <TYPENAME1, typename > typename F, typename T>
153
153
struct fold_right1_impl <F, T, list1<>> {
@@ -217,11 +217,11 @@ constexpr bool all_equal_v = all_equal<List, Cmp>::value;
217
217
template <typename List, size_t I, typename T>
218
218
struct insert_at : public detail ::insert_at_impl<I, T, list<>, List> {};
219
219
template <typename List, size_t I, typename T>
220
- using insert_at_t = insert_at<List, I, T>::type;
220
+ using insert_at_t = typename insert_at<List, I, T>::type;
221
221
template <typename List1, size_t I, TYPENAME1 T>
222
222
struct insert_at1 : public detail ::insert_at1_impl<I, T, list1<>, List1> {};
223
223
template <typename List1, size_t I, TYPENAME1 T>
224
- using insert_at1_t = insert_at1<List1, I, T>::type;
224
+ using insert_at1_t = typename insert_at1<List1, I, T>::type;
225
225
226
226
// fold_right recursively applies binary function {F} to elements of the {List}
227
227
// and the previous result, starting from the right. The initial value is {T}.
@@ -232,11 +232,11 @@ using insert_at1_t = insert_at1<List1, I, T>::type;
232
232
template <template <typename , typename > typename F, typename List, typename T>
233
233
struct fold_right : public detail ::fold_right_impl<F, T, List> {};
234
234
template <template <typename , typename > typename F, typename List, typename T>
235
- using fold_right_t = fold_right<F, List, T>::type;
235
+ using fold_right_t = typename fold_right<F, List, T>::type;
236
236
template <template <TYPENAME1, typename > typename F, typename List1, typename T>
237
237
struct fold_right1 : public detail ::fold_right1_impl<F, T, List1> {};
238
238
template <template <TYPENAME1, typename > typename F, typename List1, typename T>
239
- using fold_right1_t = fold_right1<F, List1, T>::type;
239
+ using fold_right1_t = typename fold_right1<F, List1, T>::type;
240
240
241
241
} // namespace v8::base::tmp
242
242
0 commit comments