|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81362 - trunk/boost/test/tools
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-15 19:37:38
Author: rogeeff
Date: 2012-11-15 19:37:37 EST (Thu, 15 Nov 2012)
New Revision: 81362
URL: http://svn.boost.org/trac/boost/changeset/81362
Log:
clang bug workaround
Text files modified:
trunk/boost/test/tools/assertion.hpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/boost/test/tools/assertion.hpp
==============================================================================
--- trunk/boost/test/tools/assertion.hpp (original)
+++ trunk/boost/test/tools/assertion.hpp 2012-11-15 19:37:37 EST (Thu, 15 Nov 2012)
@@ -123,7 +123,10 @@
//____________________________________________________________________________//
#ifndef BOOST_NO_CXX11_DECLTYPE
-# define DEDUCE_RESULT_TYPE( oper ) typename boost::remove_reference<decltype(boost::declval<Lhs>() oper boost::declval<Rhs>() )>::type
+# define DEDUCE_RESULT_TYPE( oper ) \
+ decltype(boost::declval<Lhs>() oper boost::declval<Rhs>() ) optype; \
+ typedef typename boost::remove_reference<optype>::type \
+/**/
#else
# define DEDUCE_RESULT_TYPE( oper ) bool
#endif
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