diff --git a/doc/intrusive.qbk b/doc/intrusive.qbk index abde8f9..fc5d8ef 100644 --- a/doc/intrusive.qbk +++ b/doc/intrusive.qbk @@ -3881,6 +3881,13 @@ to be inserted in intrusive containers are allocated using `std::vector` or `std [section:release_notes Release Notes] +[section:release_notes_boost_1_71_00 Boost 1.71 Release] + +* Fixed bugs: + * [@https://github.com/boostorg/intrusive/pull/43 GitHub #43: ['Fix tests with BOOST_INTRUSIVE_VARIADIC_TEMPLATES enabled]] + +[endsect] + [section:release_notes_boost_1_70_00 Boost 1.70 Release] * Fixed bugs: diff --git a/include/boost/intrusive/detail/workaround.hpp b/include/boost/intrusive/detail/workaround.hpp index a9e1570..df4b700 100644 --- a/include/boost/intrusive/detail/workaround.hpp +++ b/include/boost/intrusive/detail/workaround.hpp @@ -23,6 +23,10 @@ #include #endif +#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) + #define BOOST_INTRUSIVE_VARIADIC_TEMPLATES +#endif + #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #define BOOST_INTRUSIVE_PERFECT_FORWARDING #endif