Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78268 - trunk/boost/utility
From: john_at_[hidden]
Date: 2012-04-30 10:07:25


Author: johnmaddock
Date: 2012-04-30 10:07:24 EDT (Mon, 30 Apr 2012)
New Revision: 78268
URL: http://svn.boost.org/trac/boost/changeset/78268

Log:
Fix for GCC-4.3.x.
Text files modified:
   trunk/boost/utility/base_from_member.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/utility/base_from_member.hpp
==============================================================================
--- trunk/boost/utility/base_from_member.hpp (original)
+++ trunk/boost/utility/base_from_member.hpp 2012-04-30 10:07:24 EDT (Mon, 30 Apr 2012)
@@ -128,7 +128,8 @@
 
 #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 <typename ...T, typename EnableIf = typename
      ::boost::detail::enable_if_unrelated<base_from_member, T...>::type>
     explicit BOOST_CONSTEXPR base_from_member( T&& ...x )


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk