Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69655 - in sandbox/assign_v2/boost/assign/v2/put/pipe/functor: . cpp03 cpp0x
From: erwann.rogard_at_[hidden]
Date: 2011-03-07 20:38:23


Author: e_r
Date: 2011-03-07 20:38:22 EST (Mon, 07 Mar 2011)
New Revision: 69655
URL: http://svn.boost.org/trac/boost/changeset/69655

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp | 113 ---------------------------------------
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp | 107 -------------------------------------
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor/forward.hpp | 21 -------
   3 files changed, 3 insertions(+), 238 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp03/forward.hpp 2011-03-07 20:38:22 EST (Mon, 07 Mar 2011)
@@ -1,112 +1 @@
-//////////////////////////////////////////////////////////////////////////////
-// Boost.Assign v2 //
-// //
-// Copyright (C) 2003-2004 Thorsten Ottosen //
-// Copyright (C) 2010 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_ASSIGN_V2_PUT_PIPE_FUNCTOR_CPP03_FORWARD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_CPP03_FORWARD_ER_2010_HPP
-#include <boost/preprocessor/repetition.hpp>
-#include <boost/preprocessor/arithmetic/inc.hpp>
-#include <boost/mpl/int.hpp>
-#include <boost/tuple/tuple.hpp>
-#include <boost/assign/v2/ref/wrapper/copy.hpp>
-#include <boost/assign/v2/ref/list_tuple.hpp>
-#include <boost/assign/v2/detail/config/limit_arity.hpp>
-#include <boost/assign/v2/put/pipe/functor/size_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- // --- Tuple --- //
-
-#define BOOST_ASSIGN_V2_MACRO1(z, I, data) ::boost::get<I>( data )
-#define BOOST_ASSIGN_V2_MACRO(z, N, data)\
- template<typename F BOOST_PP_ENUM_TRAILING_PARAMS(N, typename T)>\
- void forward(\
- F const& f,\
- ::boost::tuples::tuple<BOOST_PP_ENUM_PARAMS(N, T)> const& t\
- )\
- {\
- f( BOOST_PP_ENUM(N, BOOST_ASSIGN_V2_MACRO1, t) );\
- }\
-/**/
-BOOST_PP_REPEAT(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_ARITY),
- BOOST_ASSIGN_V2_MACRO,
- ~
-)
-#undef BOOST_ASSIGN_V2_MACRO1
-#undef BOOST_ASSIGN_V2_MACRO
- // --- List --- //
-
-#define params(T) BOOST_PP_ENUM_PARAMS(BOOST_ASSIGN_V2_LIMIT_ARITY,T)
-
- template<
- typename F,
- put_pipe_aux::size_type N, typename L, params(typename T)
- >
- void forward(
- F const& f ,
- ::boost::mpl::int_<N>,
- ref::list_tuple_aux::container<N, L, params(T)> const& list
- )
- {}
-
- template<
- typename F,
- put_pipe_aux::size_type I,
- put_pipe_aux::size_type N,
- typename L, params(typename T)
- >
- void forward(
- F const& f ,
- ::boost::mpl::int_<I>,
- ref::list_tuple_aux::container<N, L, params(T)> const& list
- )
- {
- {
- typedef ::boost::mpl::int_<I> int_;
- forward( f, list.get( int_() ) );
- }
- {
- typedef ::boost::mpl::int_<I+1> next_;
- forward( f, next_(), list );
- }
- }
-
- // ------------ //
-
- template<typename F, typename L>
- void forward(
- F const& f ,
- ref::list_tuple_aux::container<
- 0,
- L
- > const& list
- ){}
-
- template<typename F,
- put_pipe_aux::size_type N, typename L, params(typename T)>
- void forward(
- F const& f,
- ref::list_tuple_aux::container<N, L, params(T)> const& list
- )
- {
- typedef ::boost::mpl::int_<0> int_;
- forward(f, int_(), list);
- }
-
-#undef params
-
-}// put_pipe_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_FORWARD_ER_2010_HPP
+// TODO remove file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp 2011-03-07 20:38:22 EST (Mon, 07 Mar 2011)
@@ -1,106 +1 @@
-//////////////////////////////////////////////////////////////////////////////
-// Boost.Assign v2 //
-// //
-// Copyright (C) 2003-2004 Thorsten Ottosen //
-// Copyright (C) 2010 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_ASSIGN_V2_PUT_PIPE_FUNCTOR_CPP0X_FORWARD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_CPP0X_FORWARD_ER_2010_HPP
-#include <boost/mpl/size.hpp>
-#include <boost/assign/v2/ref/tuple/cpp0x.hpp>
-#include <boost/assign/v2/ref/list_tuple.hpp>
-#include <boost/assign/v2/temporary/variadic_args_to_indices.hpp>
-#include <boost/assign/v2/put/pipe/functor/size_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- // --- Tuple --- //
-
- template<typename F, typename T, typename I, I ...Values>
- void forward(
- F const& f,
- T const& t,
- ::boost::mpl::er2010::indices<I, Values...>
- )
- {
- f( ref::get<Values>( t )... );
- }
-
- template<typename F, typename ...Args>
- void forward(
- F const& f,
- ref::tuple_aux::container<Args...> const& t
- )
- {
- typedef typename ::boost::mpl::er2010::args_to_indices<
- int,
- Args...
- >::type indices_;
- forward( f, t, indices_() );
- }
-
- // --- List --- //
-
- template<
- typename F,
- put_pipe_aux::size_type N, typename L, typename...Args
- >
- void forward(
- F const& f ,
- ::boost::mpl::int_<N>,
- ref::list_tuple_aux::container<N, L, Args...> const& list
- )
- {}
-
- template<
- typename F,
- put_pipe_aux::size_type I,
- put_pipe_aux::size_type N, typename L, typename...Args
- >
- void forward(
- F const& f ,
- ::boost::mpl::int_<I>,
- ref::list_tuple_aux::container<N, L, Args...> const& list
- )
- {
- {
- typedef ::boost::mpl::int_<I> int_;
- forward( f, list.get( int_() ) );
- }
- {
- typedef ::boost::mpl::int_<I+1> next_;
- forward( f, next_(), list );
- }
- }
-
- // ------------ //
-
- template<typename F, typename L>
- void forward(
- F const& f ,
- ref::list_tuple_aux::container<0, L> const& list
- ){}
-
- template<typename F,
- put_pipe_aux::size_type N, typename L, typename...Args>
- void forward(
- F const& f,
- ref::list_tuple_aux::container<N, L, Args...> const& list
- )
- {
- typedef ::boost::mpl::int_<0> int_;
- forward(f, int_(), list);
- }
-
-}// put_pipe_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_FORWARD_ER_2010_HPP
+// TODO remove file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/forward.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/forward.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/forward.hpp 2011-03-07 20:38:22 EST (Mon, 07 Mar 2011)
@@ -1,20 +1 @@
-//////////////////////////////////////////////////////////////////////////////
-// Boost.Assign v2 //
-// //
-// Copyright (C) 2003-2004 Thorsten Ottosen //
-// Copyright (C) 2010 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_ASSIGN_V2_ADAPTOR_FUNCTOR_FORWARD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_ADAPTOR_FUNCTOR_FORWARD_ER_2010_HPP
-
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-//#include <boost/assign/v2/put/pipe/functor/cpp0x/forward.hpp>
-#else
-//#include <boost/assign/v2/put/pipe/functor/cpp03/forward.hpp>
-#endif
-
-#endif // BOOST_ASSIGN_V2_ADAPTOR_FUNCTOR_FORWARD_ER_2010_HPP
+// TODO remove file
\ No newline at end of file


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