From cfe4c26f9907bd9e84aac3cfb1e989c76f5d5a45 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 23 Apr 2017 09:31:18 +0100 Subject: [PATCH] Explicitly write out boost::tuple template arguments GCC 4.6 doesn't support using variadic arguments for a fixed length template. There's a config macro for this, but might as well use the same code everywhere. --- include/boost/unordered/detail/implementation.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index f2980285..831f0329 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -1470,8 +1470,10 @@ inline void construct_from_args( template struct detect_boost_tuple { - template - static choice1::type test(choice1, boost::tuple const&); + template + static choice1::type test( + choice1, boost::tuple const&); static choice2::type test(choice2, ...);