Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59184 - sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta
From: erwann.rogard_at_[hidden]
Date: 2010-01-20 22:28:51


Author: e_r
Date: 2010-01-20 22:28:50 EST (Wed, 20 Jan 2010)
New Revision: 59184
URL: http://svn.boost.org/trac/boost/changeset/59184

Log:
m
Removed:
   sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/bind_delegate.hpp
   sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/delegate.hpp
   sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/distribution_base.hpp

Deleted: sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/bind_delegate.hpp
==============================================================================
--- sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/bind_delegate.hpp 2010-01-20 22:28:50 EST (Wed, 20 Jan 2010)
+++ (empty file)
@@ -1,70 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// distribution::toolkit::meta::bind_delegate.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_DISTRIBUTION_TOOLKIT_META_BIND_DELEGATE_HPP_ER_2009
-#define BOOST_STATISTICS_DETAIL_DISTRIBUTION_TOOLKIT_META_BIND_DELEGATE_HPP_ER_2009
-#include <boost/function.hpp>
-#include <boost/lambda/bind.hpp>
-#include <boost/lambda/lambda.hpp>
-#include <boost/type_traits/function_traits.hpp>
-#include <boost/statistics/detail/distribution_toolkit/meta/signature.hpp>
-#include <boost/statistics/detail/distribution_toolkit/meta/delegate.hpp>
-
-namespace boost{
-namespace statistics{
-namespace detail{
-namespace distribution{
-namespace toolkit{
-
-namespace meta{
-
- template<typename D>
- struct bind_delegate{
-
- typedef signature<D> sig_;
- typedef delegate<D> deleg_;
- typedef function_traits<typename sig_::type> traits_;
- typedef typename traits_::result_type result_;
- typedef typename traits_::arg2_type arg2_;
- typedef result_ sig2_( arg2_ );
- typedef function<sig2_> type;
-
- template<template<typename> class F>
- static type call(const D& dist){
- return type(
- boost::lambda::bind(
- deleg_::template make<F>(),
- dist,
- boost::lambda::_1
- )
- );
- }
- };
-
-}// meta
-
-
-
- template<template<typename> class F,typename D>
- typename meta::bind_delegate<D>::type
- make_bind_delegate(
- const D& dist
- )
- {
- typedef meta::bind_delegate<D> meta_;
- return meta_::template make<F>(dist);
- }
-
-
-}// distribution
-}// toolkit
-}// detail
-}// statistics
-}// boost
-
-#endif

Deleted: sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/delegate.hpp
==============================================================================
--- sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/delegate.hpp 2010-01-20 22:28:50 EST (Wed, 20 Jan 2010)
+++ (empty file)
@@ -1,39 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// distribution::toolkit::meta::delegate.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_DISTRIBUTION_TOOLKIT_META_DELEGATE_HPP_ER_2009
-#define BOOST_STATISTICS_DETAIL_DISTRIBUTION_TOOLKIT_META_DELEGATE_HPP_ER_2009
-#include <boost/function.hpp>
-#include <boost/statistics/detail/distribution_toolkit/meta/signature.hpp>
-
-namespace boost{
-namespace statistics{
-namespace detail{
-namespace distribution{
-namespace toolkit{
-
-namespace meta{
-
- template<typename D>
- struct delegate{
- typedef typename signature<D>::type sig_;
- typedef boost::function<sig_> type;
-
- template<template<typename> class F> // F in fun_wrap
- static type call(){ return type(F<D>::instance); }
- };
-
-
-}// meta
-}// distribution
-}// toolkit
-}// detail
-}// statistics
-}// boost
-
-#endif

Deleted: sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/distribution_base.hpp
==============================================================================
--- sandbox/statistics/distribution_toolkit/boost/statistics/detail/distribution_toolkit/meta/distribution_base.hpp 2010-01-20 22:28:50 EST (Wed, 20 Jan 2010)
+++ (empty file)
@@ -1,34 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// distribution::toolkit::meta::distribution_base.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_DISTRIBUTION_TOOLKIT_META_DISTRIBUTION_BASE_HPP_ER_2009
-#define BOOST_STATISTICS_DETAIL_DISTRIBUTION_TOOLKIT_META_DISTRIBUTION_BASE_HPP_ER_2009
-#include <boost/mpl/identity.hpp>
-
-namespace boost{
-namespace statistics{
-namespace detail{
-namespace distribution{
-namespace toolkit{
-
-namespace meta{
-
-
- // TODO remove
- template<typename D>
- struct distribution_base : mpl::identity<D>{};
-
-}// meta
-}// distribution
-}// toolkit
-
-}// 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