@@ -246,14 +246,14 @@ namespace xsimd
246246 namespace detail
247247 {
248248 template <typename T, class G , class A , std::size_t ... Is>
249- XSIMD_INLINE constexpr auto make_batch_constant (detail::index_sequence<Is ...>) noexcept
250- -> batch_constant<T, A, (T)G::get(Is, sizeof ...(Is))...>
249+ XSIMD_INLINE constexpr batch_constant<T, A, (T)G::get(Is, sizeof ...(Is))...>
250+ make_batch_constant (detail::index_sequence<Is ...>) noexcept
251251 {
252252 return {};
253253 }
254254 template <typename T, class G , class A , std::size_t ... Is>
255- XSIMD_INLINE constexpr auto make_batch_bool_constant (detail::index_sequence<Is ...>) noexcept
256- -> batch_bool_constant<T, A, G::get(Is, sizeof ...(Is))...>
255+ XSIMD_INLINE constexpr batch_bool_constant<T, A, G::get(Is, sizeof ...(Is))...>
256+ make_batch_bool_constant (detail::index_sequence<Is ...>) noexcept
257257 {
258258 return {};
259259 }
@@ -281,18 +281,17 @@ namespace xsimd
281281 * @endcode
282282 */
283283 template <typename T, class G , class A = default_arch>
284- XSIMD_INLINE constexpr auto make_batch_constant () noexcept -> decltype(detail::make_batch_constant<T, G, A>(detail::make_index_sequence<batch<T, A>::size>()))
284+ XSIMD_INLINE constexpr decltype (detail::make_batch_constant<T, G, A>(detail::make_index_sequence<batch<T, A>::size>()))
285+ make_batch_constant() noexcept
285286 {
286- return detail::make_batch_constant<T, G, A>(detail::make_index_sequence<batch<T, A>::size>()) ;
287+ return {} ;
287288 }
288289
289290 template <typename T, class G , class A = default_arch>
290- XSIMD_INLINE constexpr auto make_batch_bool_constant () noexcept
291- -> decltype(detail::make_batch_bool_constant<T, G, A>(
292- detail::make_index_sequence<batch<T, A>::size>()))
291+ XSIMD_INLINE constexpr decltype (detail::make_batch_bool_constant<T, G, A>(detail::make_index_sequence<batch<T, A>::size>()))
292+ make_batch_bool_constant() noexcept
293293 {
294- return detail::make_batch_bool_constant<T, G, A>(
295- detail::make_index_sequence<batch<T, A>::size>());
294+ return {};
296295 }
297296
298297} // namespace xsimd
0 commit comments