Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61916 - trunk/boost/mpl
From: neil_at_[hidden]
Date: 2010-05-11 14:30:06


Author: neilgroves
Date: 2010-05-11 14:30:04 EDT (Tue, 11 May 2010)
New Revision: 61916
URL: http://svn.boost.org/trac/boost/changeset/61916

Log:
Fixed defect that showed up with Visual C++ 10. This has been affecting numerous libraries as a knock-on effect.
Text files modified:
   trunk/boost/mpl/eval_if.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/mpl/eval_if.hpp
==============================================================================
--- trunk/boost/mpl/eval_if.hpp (original)
+++ trunk/boost/mpl/eval_if.hpp 2010-05-11 14:30:04 EDT (Tue, 11 May 2010)
@@ -39,6 +39,7 @@
 #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))
 };
@@ -61,6 +62,7 @@
 #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