mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-04 15:04:43 +02:00
Disable variadic templates for MSVC-12 to avoid ICEs.
Fixes https://github.com/boostorg/intrusive/issues/44.
This commit is contained in:
@@ -23,7 +23,8 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#endif
|
#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
|
#define BOOST_INTRUSIVE_VARIADIC_TEMPLATES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user