Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56890 - in sandbox/statistics/detail/fusion/boost/statistics/detail/fusion: functor iterator
From: erwann.rogard_at_[hidden]
Date: 2009-10-16 00:17:54


Author: e_r
Date: 2009-10-16 00:17:54 EDT (Fri, 16 Oct 2009)
New Revision: 56890
URL: http://svn.boost.org/trac/boost/changeset/56890

Log:
a/d
Removed:
   sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/functor/at_key.hpp
   sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/iterator/

Deleted: sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/functor/at_key.hpp
==============================================================================
--- sandbox/statistics/detail/fusion/boost/statistics/detail/fusion/functor/at_key.hpp 2009-10-16 00:17:54 EDT (Fri, 16 Oct 2009)
+++ (empty file)
@@ -1,65 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// statistics::detail::fusion::functor::at_key.hpp //
-// //
-// (C) Copyright 2009 Erwann Rogard //
-// Use, modification and distribution are subject to the //
-// Boost Software License, Version 1.0. (See accompanying file //
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_STATISTICS_DETAIL_FUSION_FUNCTOR_AT_KEY_HPP_ER_2009
-#define BOOST_STATISTICS_DETAIL_FUSION_FUNCTOR_AT_KEY_HPP_ER_2009
-#include <boost/utility/result_of.hpp>
-#include <boost/type_traits/remove_reference.hpp>
-#include <boost/mpl/identity.hpp>
-
-#include <boost/fusion/sequence/intrinsic/at_key.hpp>
-#include <boost/fusion/include/at_key.hpp>
-
-namespace boost{
-namespace statistics{
-namespace detail{
-namespace fusion{
-namespace functor{
-
- template<typename K>
- class at_key{
-
- // M has to be a fusion::map
- template<typename M>
- struct result_impl
- : boost::fusion::result_of::at_key<M, K>{};
-
- public:
-
- template<typename S>
- struct result{};
-
- 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
- operator()(const M& p)const{
- return boost::fusion::at_key<K>(p);
- }
-
- template<typename M>
- typename result_impl<M>::type
- operator()(M& p)const{
- return boost::fusion::at_key<K>(p);
- }
-
- };
-
-}// functor
-}// fusion
-}// detail
-}// statistics
-}// boost
-
-#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