|
135 | 135 | template <class Ret, class... Args> \ |
136 | 136 | struct impl<KEY, Ret(Args...)> \ |
137 | 137 | { \ |
138 | | - using ctx = ctx<KEY>; \ |
139 | 138 | constexpr Ret operator()(Args... args) const noexcept \ |
140 | 139 | { \ |
141 | | - return CALLEE(args..., ctx::vl); \ |
| 140 | + return CALLEE(args..., ctx<KEY>::vl); \ |
142 | 141 | }; \ |
143 | 142 | }; |
144 | 143 | #define XSIMD_RVV_WRAPPER_NOVL(KEY, CALLEE, ...) \ |
|
154 | 153 | template <class Ret, class First, class... Args> \ |
155 | 154 | struct impl<KEY, Ret(First, Args...)> \ |
156 | 155 | { \ |
157 | | - using ctx = ctx<KEY>; \ |
158 | 156 | constexpr Ret operator()(First, Args... args) const noexcept \ |
159 | 157 | { \ |
160 | | - return CALLEE(args..., ctx::vl); \ |
| 158 | + return CALLEE(args..., ctx<KEY>::vl); \ |
161 | 159 | }; \ |
162 | 160 | }; |
163 | 161 | #define XSIMD_RVV_WRAPPER_DROP_1ST_CUSTOM_ARGS(KEY, CALLEE, SIGNATURE, ...) \ |
164 | 162 | template <class Ret, class First, class... Args> \ |
165 | 163 | struct impl<KEY, Ret(First, Args...)> \ |
166 | 164 | { \ |
167 | | - using ctx = ctx<KEY>; \ |
168 | 165 | constexpr Ret operator()(First, Args... args) const noexcept \ |
169 | 166 | { \ |
170 | | - return CALLEE(__VA_ARGS__, ctx::vl); \ |
| 167 | + return CALLEE(__VA_ARGS__, ctx<KEY>::vl); \ |
171 | 168 | }; \ |
172 | 169 | }; |
173 | 170 | #define XSIMD_RVV_WRAPPER_DROP_1ST_CUSTOM_ARGS_NOVL(KEY, CALLEE, SIGNATURE, ...) \ |
|
0 commit comments