|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56889 - in sandbox/statistics/detail/fusion/boost/statistics/detail/fusion: functor iterator
From: erwann.rogard_at_[hidden]
Date: 2009-10-16 00:16:33
Author: e_r
Date: 2009-10-16 00:16:30 EDT (Fri, 16 Oct 2009)
New Revision: 56889
URL: http://svn.boost.org/trac/boost/changeset/56889
Log:
m
Text files modified:
sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/functor/at_key.hpp | 3 +++
sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/iterator/at_key.hpp | 5 ++---
2 files changed, 5 insertions(+), 3 deletions(-)
Modified: sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/functor/at_key.hpp
==============================================================================
--- sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/functor/at_key.hpp (original)
+++ sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/functor/at_key.hpp 2009-10-16 00:16:30 EDT (Fri, 16 Oct 2009)
@@ -37,6 +37,9 @@
template<typename F,typename M>
struct result<F(M)>
: result_impl<typename remove_reference<M>::type>{};
+
+ template<typename S>
+ struct sig : result<S>{};
template<typename M>
typename result_impl<const M>::type
Modified: sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/iterator/at_key.hpp
==============================================================================
--- sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/iterator/at_key.hpp (original)
+++ sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/iterator/at_key.hpp 2009-10-16 00:16:30 EDT (Fri, 16 Oct 2009)
@@ -28,8 +28,6 @@
// See boost.user mailing list
// Subject: [transform_iterator]'s reference
// 10/05/2009
- //
- // Note that at_key2 could also have been used
typedef typename result_of<f_(ref1_)>::type ref2_;
typedef boost::transform_iterator<f_,It,ref2_> type;
@@ -48,7 +46,8 @@
return m_::make(i);
}
-}// functor
+}// iterator
+
}// fusion
}// detail
}// statistics
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