fix template disambiguation syntax on MSVC by PerretB · Pull Request #2799 · xtensor-stack/xtensor
MSCV currently emits a syntax error on line (TBB with SIMD branch)
xtensor/include/xtensor/xassign.hpp
Line 1252 in 8c0a484
| res_stepper.template store_simd(fct_stepper.template step_simd<value_type>()); |
Adds a simple syntax helper for MSVC (not sure what the standard says here).
res_stepper.template store_simd<>(fct_stepper.template step_simd<value_type>());
FIXES #2736 (note that compiling with /Zc:lambda on MSVC is currently required to avoid this compiler bug https://developercommunity.visualstudio.com/t/lambda-fails-to-implicitly-capture-constexpr-value/610504 )