Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58956 - in sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain: . detail
From: erwann.rogard_at_[hidden]
Date: 2010-01-12 16:47:38


Author: e_r
Date: 2010-01-12 16:47:37 EST (Tue, 12 Jan 2010)
New Revision: 58956
URL: http://svn.boost.org/trac/boost/changeset/58956

Log:
m
Text files modified:
   sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/nest.hpp | 1 +
   sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/nest.hpp | 21 +--------------------
   2 files changed, 2 insertions(+), 20 deletions(-)

Modified: sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/nest.hpp
==============================================================================
--- sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/nest.hpp (original)
+++ sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/detail/nest.hpp 2010-01-12 16:47:37 EST (Tue, 12 Jan 2010)
@@ -64,6 +64,7 @@
             Rhs
>::type type;
     
+ // TODO Why Most1!= Most
             template<typename Most1>
         static type call(const Most1& most, const Rhs& rhs)
         {

Modified: sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/nest.hpp
==============================================================================
--- sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/nest.hpp (original)
+++ sandbox/statistics/detail/range_ex/boost/statistics/detail/range_ex/chain/nest.hpp 2010-01-12 16:47:37 EST (Tue, 12 Jan 2010)
@@ -26,10 +26,6 @@
 
 namespace result_of{
 
- // TODO :
- // case size(seq) = 1 ?
- // Why Most1!= Most
-
         template<typename Seq>
     struct nest_chain : range::impl::nest_chain<
             typename boost::remove_const<
@@ -44,26 +40,11 @@
>::type
>{};
 
-
- // Alternatively?
- // template<typename Seq>
- // struct nest_chain{
- // typedef typename statistics::detail::mpl::most<Seq>::type most_;
- // typedef typename boost::mpl::back<Seq>::type back_;
- //
- // typedef typename boost::mpl::reverse_fold<
- // most_,
- // back_,
- // statistics::detail::range::result_of
- // ::chain<boost::mpl::_2,boost::mpl::_1>
- // >::type
- // >{};
-
-
 }
 
         // Possible Usage:
     // nest_chain(fusion::make_vector(vec1,vec2,vec3,...));
+ // TODO case size(seq) = 1 ?
     template<typename Seq>
     typename range::result_of::nest_chain<Seq>::type
     nest_chain(const Seq& seq){


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