Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60263 - trunk/boost/fusion/view/nview
From: hartmut.kaiser_at_[hidden]
Date: 2010-03-06 21:19:17


Author: hkaiser
Date: 2010-03-06 21:19:16 EST (Sat, 06 Mar 2010)
New Revision: 60263
URL: http://svn.boost.org/trac/boost/changeset/60263

Log:
Fusion: applied workaround for broken VC10
Text files modified:
   trunk/boost/fusion/view/nview/nview.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/fusion/view/nview/nview.hpp
==============================================================================
--- trunk/boost/fusion/view/nview/nview.hpp (original)
+++ trunk/boost/fusion/view/nview/nview.hpp 2010-03-06 21:19:16 EST (Sat, 06 Mar 2010)
@@ -36,7 +36,7 @@
             struct result<addref(U)> : add_reference<U> {};
 
             template <typename T>
- typename boost::result_of<addref(T)>::type
+ typename add_reference<T>::type
             operator()(T& x) const
             {
                 return x;
@@ -54,14 +54,14 @@
             {};
 
             template <typename T>
- typename boost::result_of<addconstref(T)>::type
+ typename add_reference<typename add_const<T>::type>::type
             operator()(T& x) const
             {
                 return x;
             }
 
             template <typename T>
- typename boost::result_of<addconstref(T)>::type
+ typename add_reference<typename add_const<T>::type>::type
             operator()(T const& x) const
             {
                 return 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