Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61922 - trunk/boost/mpl
From: neil_at_[hidden]
Date: 2010-05-11 18:20:21


Author: neilgroves
Date: 2010-05-11 18:20:19 EDT (Tue, 11 May 2010)
New Revision: 61922
URL: http://svn.boost.org/trac/boost/changeset/61922

Log:
Improve compatibility with compilers other than GCC.
Text files modified:
   trunk/boost/mpl/eval_if.hpp | 8 +++-----
   1 files changed, 3 insertions(+), 5 deletions(-)

Modified: trunk/boost/mpl/eval_if.hpp
==============================================================================
--- trunk/boost/mpl/eval_if.hpp (original)
+++ trunk/boost/mpl/eval_if.hpp 2010-05-11 18:20:19 EDT (Tue, 11 May 2010)
@@ -4,8 +4,8 @@
 
 // Copyright Aleksey Gurtovoy 2000-2004
 //
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt)
 //
 // See http://www.boost.org/libs/mpl for documentation.
@@ -39,12 +39,11 @@
 #else
     : if_<C,F1,F2>::type
 {
- typedef typename if_<C,F1,F2>::type type;
 #endif
     BOOST_MPL_AUX_LAMBDA_SUPPORT(3,eval_if,(C,F1,F2))
 };
 
-// (almost) copy & paste in order to save one more
+// (almost) copy & paste in order to save one more
 // recursively nested template instantiation to user
 template<
       bool C
@@ -62,7 +61,6 @@
 #else
     : if_c<C,F1,F2>::type
 {
- typedef typename if_c<C,F1,F2>::type type;
 #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