From 923caf44101210c24b0f59a8ac824e7b48c3ac64 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 30 Apr 2012 14:07:24 +0000 Subject: [PATCH] Fix for GCC-4.3.x. [SVN r78268] --- include/boost/utility/base_from_member.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/utility/base_from_member.hpp b/include/boost/utility/base_from_member.hpp index 8d17522..67faa3b 100644 --- a/include/boost/utility/base_from_member.hpp +++ b/include/boost/utility/base_from_member.hpp @@ -128,7 +128,8 @@ protected: #if !defined(BOOST_NO_RVALUE_REFERENCES) && \ !defined(BOOST_NO_VARIADIC_TEMPLATES) && \ - !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS) + !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \ + !(defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 4)) template ::type> explicit BOOST_CONSTEXPR base_from_member( T&& ...x )