|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59267 - in sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain: . detail
From: erwann.rogard_at_[hidden]
Date: 2010-01-25 16:32:08
Author: e_r
Date: 2010-01-25 16:32:07 EST (Mon, 25 Jan 2010)
New Revision: 59267
URL: http://svn.boost.org/trac/boost/changeset/59267
Log:
m
Text files modified:
sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/result_of_nest.hpp | 7 ++++---
sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/result_of.hpp | 18 +++++++++++++++---
2 files changed, 19 insertions(+), 6 deletions(-)
Modified: sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/result_of_nest.hpp
==============================================================================
--- sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/result_of_nest.hpp (original)
+++ sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/result_of_nest.hpp 2010-01-25 16:32:07 EST (Mon, 25 Jan 2010)
@@ -25,12 +25,13 @@
// Case size(seq) > 1
template<typename Seq>
struct nest_chain : range::impl::nest_chain<
- typename boost::remove_const<
+ typename boost::remove_cv<
typename boost::remove_reference<
typename boost::fusion::result_of::pop_back<Seq>::type
>::type
- >::type,
- typename boost::remove_const<
+ >::type
+ ,
+ typename boost::remove_cv<
typename boost::remove_reference<
typename boost::fusion::result_of::back<Seq>::type
>::type
Modified: sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/result_of.hpp
==============================================================================
--- sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/result_of.hpp (original)
+++ sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/result_of.hpp 2010-01-25 16:32:07 EST (Mon, 25 Jan 2010)
@@ -19,13 +19,25 @@
template<typename R1,typename R2>
struct chain{
-
- typedef BOOST_TYPEOF_TPL(
+
+ // This version rather than the simpler BOOST_TYPEOF_TYPE
+ // is needed for MSVC.
+ typedef BOOST_TYPEOF_NESTED_TYPEDEF_TPL(
+ nested,
boost::chain(
R1(),
R2()
)
- ) type;
+ );
+
+ typedef typename nested::type type;
+
+ //typedef BOOST_TYPEOF_TPL(
+ // boost::chain(
+ // R1(),
+ // R2()
+ // )
+ //) type;
};
}
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