2020#include < xtl/xcomplex.hpp>
2121#endif
2222
23+ #include " ../config/xsimd_config.hpp"
2324#include " ./xsimd_batch_fwd.hpp"
2425#include " ./xsimd_utils.hpp"
2526
@@ -60,7 +61,7 @@ namespace xsimd
6061 static constexpr size_t size = 1 ;
6162 };
6263
63- #if __cplusplus < 201703L
64+ #if XSIMD_CPP_VERSION < 201703L
6465 template <class T >
6566 constexpr size_t simd_traits_impl<T, false >::size;
6667#endif
@@ -73,7 +74,7 @@ namespace xsimd
7374 static constexpr size_t size = type::size;
7475 };
7576
76- #if __cplusplus < 201703L
77+ #if XSIMD_CPP_VERSION < 201703L
7778 template <class T >
7879 constexpr size_t simd_traits_impl<T, true >::size;
7980#endif
@@ -139,7 +140,7 @@ namespace xsimd
139140 static constexpr size_t size = simd_traits<type>::size;
140141 };
141142
142- #if __cplusplus < 201703L
143+ #if XSIMD_CPP_VERSION < 201703L
143144 template <class T >
144145 constexpr size_t revert_simd_traits<T>::size;
145146#endif
@@ -151,7 +152,7 @@ namespace xsimd
151152 static constexpr size_t size = batch<T>::size;
152153 };
153154
154- #if __cplusplus < 201703L
155+ #if XSIMD_CPP_VERSION < 201703L
155156 template <class T >
156157 constexpr size_t revert_simd_traits<batch<T>>::size;
157158#endif
@@ -257,7 +258,7 @@ namespace xsimd
257258 static constexpr bool is_complex = detail::is_complex<T>::value; // /< True if T is complex or a batch of complex values.
258259 };
259260
260- #if __cplusplus < 201703L
261+ #if XSIMD_CPP_VERSION < 201703L
261262 template <class T >
262263 constexpr bool batch_traits<T>::is_batch;
263264 template <class T >
@@ -280,7 +281,7 @@ namespace xsimd
280281 static constexpr bool is_complex = detail::is_complex<T>::value;
281282 };
282283
283- #if __cplusplus < 201703L
284+ #if XSIMD_CPP_VERSION < 201703L
284285 template <class T , class A >
285286 constexpr bool batch_traits<batch<T, A>>::is_batch;
286287 template <class T , class A >
@@ -303,7 +304,7 @@ namespace xsimd
303304 static constexpr bool is_complex = false ;
304305 };
305306
306- #if __cplusplus < 201703L
307+ #if XSIMD_CPP_VERSION < 201703L
307308 template <class T , class A >
308309 constexpr bool batch_traits<batch_bool<T, A>>::is_batch;
309310 template <class T , class A >
0 commit comments