Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60827 - sandbox/statistics/detail/assign/boost/assign/auto_size/range
From: erwann.rogard_at_[hidden]
Date: 2010-03-25 12:05:20


Author: e_r
Date: 2010-03-25 12:05:19 EDT (Thu, 25 Mar 2010)
New Revision: 60827
URL: http://svn.boost.org/trac/boost/changeset/60827

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/range/result_of_chain.hpp | 13 ++++++++++++-
   1 files changed, 12 insertions(+), 1 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/range/result_of_chain.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/range/result_of_chain.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/range/result_of_chain.hpp 2010-03-25 12:05:19 EDT (Thu, 25 Mar 2010)
@@ -20,7 +20,18 @@
     struct chain{
         static R1 r1;
         static R2 r2;
- typedef BOOST_TYPEOF_TPL( boost::chain(r1,r2) ) type;
+
+ #ifdef BOOST_MSVC
+ typedef BOOST_TYPEOF_NESTED_TYPEDEF_TPL(
+ nested,
+ boost::chain(r1,r2)
+ );
+ typedef typename nested::type type;
+ #endif
+
+ #ifndef BOOST_MSVC
+ typedef BOOST_TYPEOF_TPL( boost::chain(r1,r2) ) 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