From 2af47857f49ae08eb5478d3abd77dd33c28b381e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Fri, 10 May 2019 23:50:53 +0200 Subject: [PATCH] Update changelog with #43 Fix BOOST_INTRUSIVE_VARIADIC_TEMPLATES detection --- doc/intrusive.qbk | 7 +++++++ include/boost/intrusive/detail/workaround.hpp | 4 ++++ 2 files changed, 11 insertions(+) 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