Disable variadic templates for MSVC-12 to avoid ICEs.

Fixes https://github.com/boostorg/intrusive/issues/44.
This commit is contained in:
Andrey Semashev
2019-05-26 19:55:43 +03:00
parent 2af47857f4
commit 5852698f7a

View File

@@ -23,7 +23,8 @@
#include <boost/config.hpp>
#endif
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
// MSVC-12 ICEs when variadic templates are enabled.
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && (!defined(BOOST_MSVC) || BOOST_MSVC >= 1900)
#define BOOST_INTRUSIVE_VARIADIC_TEMPLATES
#endif