Ticket #12986: boost_1_64_0-FusionEnableVariadicVector.patch

File boost_1_64_0-FusionEnableVariadicVector.patch, 663 bytes (added by peter.klotz@…, 5 years ago)

Patch to enable variadic template implementation for boost::fusion::vector when using cl 19.10 or higher

  • boost/fusion/container/vector/detail/config.hpp

    diff -Nur boost_1_64_0/boost/fusion/container/vector/detail/config.hpp boost_1_64_0.patched/boost/fusion/container/vector/detail/config.hpp
    old new  
    2828#endif
    2929
    3030// Sometimes, MSVC 12 shows compile error with std::size_t of template parameter.
    31 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1800))
     31#if defined(_MSC_VER) && (_MSC_VER < 1910)
    3232# if defined(BOOST_FUSION_HAS_VARIADIC_VECTOR)
    3333#   undef BOOST_FUSION_HAS_VARIADIC_VECTOR
    3434# endif