Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69781 - in sandbox/assign_v2: boost/assign/v2/put boost/assign/v2/put/container boost/assign/v2/put/container/functor boost/assign/v2/put/deque boost/assign/v2/put/pipe boost/assign/v2/put/pipe/csv boost/assign/v2/put/pipe/functor boost/assign/v2/ref boost/assign/v2/ref/array boost/assign/v2/ref/array/alloc boost/assign/v2/ref/array/csv boost/assign/v2/ref/array/functor boost/assign/v2/ref/convert_traits boost/assign/v2/ref/list boost/assign/v2/ref/list/array boost/assign/v2/ref/list/holder boost/assign/v2/ref/list_tuple boost/assign/v2/utility/conversion libs/assign/v2/test/put libs/assign/v2/test/put/container libs/assign/v2/test/put/deque libs/assign/v2/test/put/modifier libs/assign/v2/test/put/pipe libs/assign/v2/test/put/pipe/modifier libs/assign/v2/test/ref libs/assign/v2/test/utility
From: erwann.rogard_at_[hidden]
Date: 2011-03-09 15:33:09


Author: e_r
Date: 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
New Revision: 69781
URL: http://svn.boost.org/trac/boost/changeset/69781

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/put/container.hpp | 6
   sandbox/assign_v2/boost/assign/v2/put/container/functor.hpp | 19 --
   sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp | 71 ----------
   sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp | 26 ---
   sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp | 33 ----
   sandbox/assign_v2/boost/assign/v2/put/container/functor/replace_parameter.hpp | 40 -----
   sandbox/assign_v2/boost/assign/v2/put/container/functor/result_of.hpp | 35 ----
   sandbox/assign_v2/boost/assign/v2/put/container/range.hpp | 37 -----
   sandbox/assign_v2/boost/assign/v2/put/deque.hpp | 7
   sandbox/assign_v2/boost/assign/v2/put/deque/cont.hpp | 134 -------------------
   sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp | 2
   sandbox/assign_v2/boost/assign/v2/put/deque/csv.hpp | 100 --------------
   sandbox/assign_v2/boost/assign/v2/put/deque/functor.hpp | 125 ------------------
   sandbox/assign_v2/boost/assign/v2/put/deque/fwd.hpp | 6
   sandbox/assign_v2/boost/assign/v2/put/deque/replace_parameter.hpp | 40 -----
   sandbox/assign_v2/boost/assign/v2/put/pipe.hpp | 4
   sandbox/assign_v2/boost/assign/v2/put/pipe/csv.hpp | 18 --
   sandbox/assign_v2/boost/assign/v2/put/pipe/csv/arg_list.hpp | 65 ---------
   sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp | 171 ------------------------
   sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp | 41 -----
   sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp | 27 ---
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor.hpp | 17 --
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor/args_list.hpp | 273 ---------------------------------------
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor/operator.hpp | 54 -------
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp | 27 ---
   sandbox/assign_v2/boost/assign/v2/put/pipe/modulo_traits.hpp | 2
   sandbox/assign_v2/boost/assign/v2/put/pipe/range.hpp | 2
   sandbox/assign_v2/boost/assign/v2/ref/array.hpp | 1
   sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp | 2
   sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp | 8
   sandbox/assign_v2/boost/assign/v2/ref/array/csv.hpp | 9 +
   sandbox/assign_v2/boost/assign/v2/ref/array/csv/make.hpp | 148 ---------------------
   sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp | 42 ------
   sandbox/assign_v2/boost/assign/v2/ref/array/functor.hpp | 73 ++++++++++
   sandbox/assign_v2/boost/assign/v2/ref/array/functor/make.hpp | 58 --------
   sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp | 51 -------
   sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp | 38 -----
   sandbox/assign_v2/boost/assign/v2/ref/array/size_type.hpp | 3
   sandbox/assign_v2/boost/assign/v2/ref/array/tag1.hpp | 28 ---
   sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp | 60 --------
   sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp | 10 -
   sandbox/assign_v2/boost/assign/v2/ref/list.hpp | 5
   sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp | 1
   sandbox/assign_v2/boost/assign/v2/ref/list/array/rebind.hpp | 1
   sandbox/assign_v2/boost/assign/v2/ref/list/as_modulo_list.hpp | 1
   sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp | 18 +-
   sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp | 28 ----
   sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp | 2
   sandbox/assign_v2/boost/assign/v2/ref/list/holder/head.hpp | 30 ----
   sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp | 38 -----
   sandbox/assign_v2/boost/assign/v2/ref/list/nth_result_of.hpp | 63 ---------
   sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp | 29 ----
   sandbox/assign_v2/boost/assign/v2/ref/list_tuple.hpp | 2
   sandbox/assign_v2/boost/assign/v2/ref/list_tuple/keyword.hpp | 36 -----
   sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/container.cpp | 118 ++++++++++++++++-
   sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp | 105 ---------------
   sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h | 23 ---
   sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp | 56 --------
   sandbox/assign_v2/libs/assign/v2/test/put/container/range.h | 26 ---
   sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp | 62 ++++++++
   sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp | 55 -------
   sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h | 26 ---
   sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.cpp | 58 --------
   sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.h | 26 ---
   sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp | 11
   sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp | 3
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp | 7
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp | 4
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/operator.cpp | 4
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp | 1
   sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp | 2
   sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp | 11
   sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp | 2
   82 files changed, 357 insertions(+), 2428 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/put/container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,7 +9,9 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_PUT_CONTAINER_ER_2010_HPP
 #define BOOST_ASSIGN_V2_PUT_CONTAINER_ER_2010_HPP
-#include <boost/assign/v2/put/container/functor.hpp>
-#include <boost/assign/v2/put/container/range.hpp>
+#include <boost/assign/v2/put/container/adapter.hpp>
+#include <boost/assign/v2/put/container/fwd.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
+#include <boost/assign/v2/put/container/put_range.hpp>
 
 #endif // BOOST_ASSIGN_V2_PUT_CONTAINER_ER_2010_HPP

Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,18 +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_CONTAINER_FUNCTOR_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_ER_2010_HPP
-#include <boost/assign/v2/put/container/functor/adapter.hpp>
-#include <boost/assign/v2/put/container/functor/make.hpp>
-#include <boost/assign/v2/put/container/functor/replace_parameter.hpp>
-#include <boost/assign/v2/put/container/functor/result_of.hpp>
-
-#endif // BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_ER_2010_HPP
-
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/adapter.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,70 +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_CONTAINER_FUNCTOR_ADAPTER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_ADAPTER_ER_2010_HPP
-#include <boost/assign/v2/ref/wrapper/copy.hpp>
-#include <boost/assign/v2/put/container/functor/fwd.hpp> // consistency
-#include <boost/assign/v2/put/frame/crtp.hpp>
-#include <boost/assign/v2/put/frame/modifier.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_aux{
-
- template<typename C, typename F, typename Tag>
- class adapter
- : protected ref::wrapper< ref::assign_tag::copy, C >
- , public put_aux::crtp< C, F, Tag, adapter<C, F, Tag> >
- {
- typedef put_aux::crtp< C, F, Tag, adapter > super2_t;
-
- public:
-
- typedef typename super2_t::result_type result_type;
-
- protected:
-
- typedef put_aux::modifier<Tag> modifier_;
- typedef ref::assign_tag::copy assign_tag_;
- typedef ref::wrapper<assign_tag_,C> super1_t;
-
- public:
-
- adapter(){}
- explicit adapter( C& cont ) : super1_t( cont ) {}
-
- // TODO remove un-necessary constructor
-// explicit adapter( C& cont, F const& f )
-// : super1_t( cont ), super2_t( f )
-// {
-// // This constructor is required by crtp
-// // when Tag or F is modified.
-// }
-
- explicit adapter( C& cont, F const& f, modifier_ const& m )
- : super1_t( cont ), super2_t( f, m )
- {
- // This constructor is required by crtp
- // when Tag or F is modified.
- }
-
- C& container()const{
- return static_cast<super1_t const&>(*this).get();
- }
-
- };
-
-}// put_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_ADAPTER_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/fwd.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,25 +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_CONTAINER_FUNCTOR_FWD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_FWD_ER_2010_HPP
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_aux{
-
- template<typename C, typename F, typename Tag> class adapter;
-
-}// put_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_FWD_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/make.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,32 +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_CONTAINER_FUNCTOR_MAKE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_MAKE_ER_2010_HPP
-#include <boost/assign/v2/put/container/functor/adapter.hpp>
-#include <boost/assign/v2/put/container/functor/result_of.hpp>
-#include <boost/assign/v2/put/deduce/modifier/dependee.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-
- template<typename C>
- typename result_of::put<C>::type
- put( C& v )
- {
- typedef typename result_of::put<C>::type result_;
- return result_( v );
- }
-
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_MAKE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/replace_parameter.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/replace_parameter.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/replace_parameter.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,39 +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_CONTAINER_FUNCTOR_REPLACE_PARAMETER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_REPLACE_PARAMETER_ER_2010_HPP
-#include <boost/assign/v2/put/container/functor/fwd.hpp>
-#include <boost/assign/v2/put/frame/replace_parameter.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_aux{
-
- template<typename C, typename F, typename Tag>
- struct replace_fun< put_aux::adapter<C, F, Tag> >
- {
- template<typename F1>
- struct apply{ typedef put_aux::adapter<C, F1, Tag> type; };
- };
-
- template<typename C, typename F, typename Tag>
- struct replace_modifier_tag< put_aux::adapter<C, F, Tag> >
- {
- template<typename Tag1>
- struct apply{ typedef put_aux::adapter<C, F, Tag1> type; };
- };
-
-}// result_of_modulo
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_REPLACE_PARAMETER_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/container/functor/result_of.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/functor/result_of.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/functor/result_of.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,34 +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_CONTAINER_FUNCTOR_RESULT_OF_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_RESULT_OF_ER_2010_HPP
-#include <boost/assign/v2/put/container/functor/fwd.hpp>
-#include <boost/assign/v2/put/deduce/fun.hpp>
-#include <boost/assign/v2/put/deduce/modifier/tag.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace result_of{
-
- template<typename C>
- struct put
- {
- typedef typename put_aux::deduce_fun<C>::type f_;
- typedef typename put_aux::deduce_modifier_tag<C>::type modifier_tag_;
- typedef put_aux::adapter<C, f_, modifier_tag_> type;
- };
-
-}// result_of
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_CONTAINER_FUNCTOR_RESULT_OF_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/container/range.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/container/range.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/container/range.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,36 +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_RANGE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_RANGE_ER_2010_HPP
-#include <boost/assign/v2/put/container/functor.hpp>
-#include <boost/range/algorithm/for_each.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-
- template<typename C, typename R>
- C& put_range(C& cont, R const& r)
- {
- return ::boost::for_each( r, put( cont ) ).container();
- }
-
- template<typename C, typename R>
- C put_range( R const& r )
- {
- C cont;
- return put_range( cont, r );
- }
-
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_RANGE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/deque.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,10 +9,9 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_PUT_DEQUE_ER_2010_HPP
 #define BOOST_ASSIGN_V2_PUT_DEQUE_ER_2010_HPP
-#include <boost/assign/v2/put/deque/cont.hpp>
+#include <boost/assign/v2/put/deque/adapter.hpp>
 #include <boost/assign/v2/put/deque/conversion.hpp>
-#include <boost/assign/v2/put/deque/csv.hpp>
-#include <boost/assign/v2/put/deque/functor.hpp>
-#include <boost/assign/v2/put/deque/replace_parameter.hpp>
+#include <boost/assign/v2/put/deque/csv_deque.hpp>
+#include <boost/assign/v2/put/deque/deque.hpp>
 
 #endif // BOOST_ASSIGN_V2_PUT_DEQUE_ER_2010_HPP

Modified: sandbox/assign_v2/boost/assign/v2/put/deque/cont.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque/cont.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque/cont.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,133 +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_DEQUE_CONT_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_DEQUE_CONT_ER_2010_HPP
-#include <deque>
-#include <boost/assign/v2/put/frame/crtp.hpp>
-#include <boost/assign/v2/put/frame/modifier.hpp>
-#include <boost/assign/v2/put/deque/fwd.hpp>
-#include <boost/range/begin.hpp>
-#include <boost/range/end.hpp>
-#include <boost/range/iterator.hpp>
-#include <boost/range/size.hpp>
-#include <boost/range/size_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_aux{
-
- template<typename T>
- struct deque_impl{ typedef std::deque<T> type; };
-
- template<typename T, typename F, typename Tag>
- class deque_cont :
- public put_aux::crtp<
- typename put_aux::deque_impl<T>::type, F, Tag,
- deque_cont<T, F, Tag>
- >
- {
- typedef typename deque_impl<T>::type impl_;
- typedef impl_ const cimpl_;
- typedef put_aux::crtp<impl_, F, Tag, deque_cont> put_crtp_;
-
- typedef put_aux::modifier<Tag> modifier_;
-
- public:
-
- typedef T value_type;
- typedef typename boost::range_size<impl_>::type size_type;
- typedef typename boost::range_iterator<impl_>::type iterator;
- typedef typename boost::range_iterator<cimpl_>::type const_iterator;
-
- // Construct
- deque_cont(){}
- explicit deque_cont(const F& f) : put_crtp_( f ){}
- explicit deque_cont(impl_ const& v, F const& f): put_crtp_( f ), impl( v )
- {
- // Required by crtp when Tag or F is modified.
- }
-
- explicit deque_cont( impl_ const& v, F const& f, modifier_ const& m )
- : put_crtp_( f, m ), impl( v )
- {
- // Required by crtp when Tag or F is modified.
- }
-
- // Deque interface
- iterator begin(){
- return boost::begin( this->impl );
- }
- iterator end(){
- return boost::end( this->impl );
- }
- const_iterator begin()const{
- return boost::begin( this->impl );
- }
- const_iterator end()const{
- return boost::end( this->impl );
- }
-
- typedef typename impl_::reference reference;
- typedef typename impl_::const_reference const_reference;
- typedef typename impl_::difference_type difference_type;
-
- size_type size()const{
- return this->container().size();
- }
- size_type max_size()const{
- return this->container().max_size();
- }
- bool empty()const{
- return this->container().empty();
- }
- reference operator[](size_type n){
- return this->container()[n];
- }
- const_reference operator[](size_type n)const{
- return this->container()[n];
- }
- reference front(){
- return this->container().front();
- }
- const_reference front()const{
- return this->container().front();
- }
- reference back(){
- return this->container().back();
- }
- const_reference back()const{
- return this->container().back();
- }
- void pop_front(){
- this->container().pop_front();
- }
- void pop_back(){
- this->container().pop_back();
- }
- void swap(deque_cont& that){
- this->container().swap( that.container() );
- }
-
- // Note : the modifiers such as push_back() are ommitted as they
- // accessible through the put interface.
-
- impl_& container()const{ return this->impl; }
- protected:
- mutable impl_ impl;
-
- };
-
-}// put_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_DEQUE_CONT_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -19,7 +19,7 @@
 namespace put_aux{
 
 #define BOOST_ASSIGN_V2_SEQ (T)(F)(Tag)
-#define BOOST_ASSIGN_V2_R deque_cont<T, F, Tag>
+#define BOOST_ASSIGN_V2_R deque_adapter<T, F, Tag>
 BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP(BOOST_ASSIGN_V2_SEQ, BOOST_ASSIGN_V2_R)
 BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERTER_NAME_LOOKUP(BOOST_ASSIGN_V2_SEQ, BOOST_ASSIGN_V2_R)
 #undef BOOST_ASSIGN_V2_SEQ

Modified: sandbox/assign_v2/boost/assign/v2/put/deque/csv.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque/csv.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque/csv.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,99 +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_DEQUE_CSV_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_DEQUE_CSV_ER_2010_HPP
-#include <boost/assign/v2/detail/keyword/nil.hpp>
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#include <boost/assign/v2/put/deque/cont.hpp>
-#include <boost/assign/v2/put/deque/functor.hpp>
-#include <boost/type_traits/decay.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-#include <utility>
-#else
-#include <boost/assign/v2/detail/config/limit_csv_arity.hpp>
-#include <boost/preprocessor/arithmetic/inc.hpp>
-#include <boost/preprocessor/repetition.hpp>
-#endif
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace result_of{
-
- template<typename /*<<First argument>>*/T>
- struct csv_deque : result_of::deque<
- typename boost::decay<
- typename boost::remove_cv<T>::type
- >::type
- >{};
-
-
-}// result_of
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-namespace put_csv_deque_aux{
-
- template<typename T, typename R>
- void impl(R& r){}
-
- template<typename T, typename R, typename...Args>
- void impl(
- R& r,
- T const& t,
- Args&&...args
- )
- {
- r( t );
- put_csv_deque_aux::impl<T>(r, std::forward<Args>( args )... );
- }
-
-}//put_csv_deque_aux
-
- template<typename T, typename... Args>
- typename result_of::deque<
- typename boost::decay<T>::type
- >::type
- csv_deque(const T& t, Args const& ... args)
- {
- typedef typename boost::decay<T>::type decay_;
- typedef typename result_of::deque<decay_>::type result_;
- result_ result = deque<decay_>( v2::_nil );
- put_csv_deque_aux::impl<T>(result, t, args...);
- return result;
- }
-
-#else
-#define BOOST_ASSIGN_V2_MACRO1(z, i, data) ( BOOST_PP_CAT(_, i) )
-#define BOOST_ASSIGN_V2_MACRO2(z, N, data)\
- template<typename T>\
- typename result_of::deque<\
- typename boost::decay<T>::type\
- >::type\
- csv_deque( BOOST_PP_ENUM_PARAMS(N, T const & _) )\
- {\
- typedef typename boost::decay<T>::type decay_;\
- return deque<decay_>( v2::_nil) BOOST_PP_REPEAT(N, BOOST_ASSIGN_V2_MACRO1, ~ );\
- }\
-/**/
-BOOST_PP_REPEAT_FROM_TO(
- 1,
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),
- BOOST_ASSIGN_V2_MACRO2,
- ~
-)
-#undef BOOST_ASSIGN_V2_MACRO1
-#undef BOOST_ASSIGN_V2_MACRO2
-#endif
-
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_DEQUE_CSV_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/deque/functor.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque/functor.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque/functor.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,124 +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_DEQUE_FUNCTOR_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_DEQUE_FUNCTOR_ER_2010_HPP
-#include <boost/assign/v2/detail/keyword/nil.hpp>
-#include <boost/assign/v2/put/deque/cont.hpp>
-#include <boost/assign/v2/put/deduce/fun.hpp>
-#include <boost/assign/v2/put/deduce/modifier/dependee.hpp>
-#include <boost/assign/v2/put/deduce/modifier/tag.hpp>
-#include <boost/mpl/assert.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-#include <utility>
-#else
-#include <boost/assign/v2/detail/config/limit_arity.hpp>
-#include <boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp>
-#include <boost/assign/v2/detail/pp/parameter_list.hpp>
-#include <boost/preprocessor/arithmetic.hpp>
-#include <boost/preprocessor/repetition.hpp>
-#include <boost/preprocessor/seq.hpp>
-#endif
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace result_of{
-
- template<typename T>
- struct deque
- {
- typedef typename boost::remove_cv<T>::type t_;
- typedef typename put_aux::deque_impl<t_>::type impl_;
- typedef typename put_aux::deduce_fun<impl_>::type f_;
- typedef typename put_aux::deduce_modifier_tag<impl_>::type modifier_tag_;
- typedef put_aux::deque_cont<t_,f_,modifier_tag_> type;
- };
-
-}// result_of
-
- template<typename T>
- typename result_of::deque<T>::type
- deque( keyword_aux::nil )
- {
- typedef typename result_of::deque<T>::type result_;
- return result_();
- }
-
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
- template<typename T, typename...Args>
- typename result_of::deque<T>::type
- deque(Args&&...args)
- {
- return deque<T>(v2::_nil)( std::forward<Args>(args)... );
- }
-#else
-
- template<typename T>
- typename result_of::deque<T>::type
- deque()
- {
- return deque<T>(v2::_nil)();
- }
-
-#define BOOST_ASSIGN_V2_MACRO1(r, SeqU) \
- template<typename T, BOOST_ASSIGN_V2_TPL_PARAMETER_LIST(SeqU)> \
- typename result_of::deque<T>::type\
- deque( BOOST_ASSIGN_V2_PARAMETER_LIST(SeqU, _) ){ \
- return deque<T>(v2::_nil)( \
- BOOST_ASSIGN_V2_ARG_LIST(SeqU, _) \
- ); \
- } \
-/**/
-#define BOOST_ASSIGN_V2_MACRO2(z, n, data) BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
- BOOST_ASSIGN_V2_MACRO1, \
- BOOST_PP_SEQ_FIRST_N(BOOST_PP_INC(n), BOOST_ASSIGN_V2_SEQ_TPL_BINARY_ARG_LIST)\
-) \
-/**/
-BOOST_PP_REPEAT(
- BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY,
- BOOST_ASSIGN_V2_MACRO2,
- ~
-)
-#undef BOOST_ASSIGN_V2_MACRO1
-#undef BOOST_ASSIGN_V2_MACRO2
-
-#define BOOST_ASSIGN_V2_MACRO(z, N, data) \
- template<typename T BOOST_PP_ENUM_TRAILING_PARAMS(N, typename U)> \
- typename result_of::deque<T>::type\
- deque( BOOST_PP_ENUM_BINARY_PARAMS(N, U, &_) ){ \
- return deque<T>(v2::_nil)( \
- BOOST_PP_ENUM_PARAMS(N, _) \
- ); \
- } \
- template<typename T BOOST_PP_ENUM_TRAILING_PARAMS(N, typename U)> \
- typename result_of::deque<T>::type\
- deque( BOOST_PP_ENUM_BINARY_PARAMS(N, const U, &_) ){ \
- return deque<T>(v2::_nil)( \
- BOOST_PP_ENUM_PARAMS(N, _) \
- ); \
- } \
-/**/
-BOOST_PP_REPEAT_FROM_TO(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY),
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_ARITY),
- BOOST_ASSIGN_V2_MACRO,
- ~
-)
-#undef BOOST_ASSIGN_V2_MACRO
-
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
-
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_DEQUE_FUNCTOR_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/deque/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque/fwd.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -15,9 +15,11 @@
 namespace v2{
 namespace put_aux{
 
- template<typename T, typename F, typename Tag> class deque_cont;
+ template<typename T> struct deque_impl;
 
-}// put_deque_aux
+ template<typename T, typename F, typename Tag> class deque_adapter;
+
+}// put_aux
 }// v2
 }// assign
 }// boost

Modified: sandbox/assign_v2/boost/assign/v2/put/deque/replace_parameter.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque/replace_parameter.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque/replace_parameter.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,39 +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_DEQUE_REPLACE_PARAMETER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_DEQUE_REPLACE_PARAMETER_ER_2010_HPP
-#include <boost/assign/v2/put/frame/replace_parameter.hpp>
-#include <boost/assign/v2/put/deque/fwd.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_aux{
-
- template<typename T, typename F, typename Tag>
- struct replace_fun< deque_cont<T, F, Tag> >
- {
- template<typename F1>
- struct apply{ typedef deque_cont<T, F1, Tag> type; };
- };
-
- template<typename T, typename F, typename Tag>
- struct replace_modifier_tag< deque_cont<T, F, Tag> >
- {
- template<typename Tag1>
- struct apply{ typedef deque_cont<T, F, Tag1> type; };
- };
-
-}// put_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_DEQUE_REPLACE_PARAMETER_ER_2010_HPP
\ No newline at end of file
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,8 +9,8 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_PUT_PIPE_ER_2010_HPP
 #define BOOST_ASSIGN_V2_PUT_PIPE_ER_2010_HPP
-#include <boost/assign/v2/put/pipe/functor.hpp>
-#include <boost/assign/v2/put/pipe/csv.hpp>
+#include <boost/assign/v2/put/pipe/csv_put.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
 #include <boost/assign/v2/put/pipe/range.hpp>
 
 #endif // BOOST_ASSIGN_V2_PUT_PIPE_ER_2010_HPP

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,17 +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_CSV_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_CSV_ER_2010_HPP
-#include <boost/assign/v2/put/pipe/csv/generator.hpp>
-#include <boost/assign/v2/put/pipe/csv/operator.hpp>
-#include <boost/assign/v2/put/pipe/csv/rhs.hpp>
-#include <boost/assign/v2/put/pipe/csv/size_type.hpp>
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_CSV_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/arg_list.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/arg_list.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/arg_list.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,64 +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_CSV_ARG_LIST_HPP_ER_2010
-#define BOOST_ASSIGN_V2_PUT_PIPE_CSV_ARG_LIST_HPP_ER_2010
-#include <boost/assign/v2/ref/array/csv.hpp>
-#include <boost/assign/v2/put/pipe/csv/size_type.hpp>
-#include <boost/assign/v2/put/pipe/modulo_traits.hpp>
-
-namespace boost{
- struct use_default;
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- template<typename Pars, csv_size_type N, typename U>
- struct arg_list
- {
- typedef boost::use_default tag2_;
- typedef modulo_traits<Pars> modulo_traits_;
- typedef typename modulo_traits_::size par_list_size; // TODO needed?
- typedef typename modulo_traits_::cont_ par_list_cont_type;
- typedef typename v2::ref::nth_result_of::csv_array<
- N,
- U
- >::type arg_list_cont_type; //notice it's arg, not args
-
- arg_list(){}
- arg_list(par_list_cont_type const& a, arg_list_cont_type const& b)
- : par_list_cont_( a ), arg_list_cont_( b ){}
-
- par_list_cont_type const& par_list_cont()const
- {
- return this->par_list_cont_;
- }
-
- arg_list_cont_type& arg_list_cont() // TODO needed (non-const)?
- {
- return this->arg_list_cont_;
- }
-
- arg_list_cont_type const& arg_list_cont() const
- {
- return this->arg_list_cont_;
- }
-
- protected:
- par_list_cont_type par_list_cont_;
- arg_list_cont_type arg_list_cont_;
-
- };
-
-}// put_pipe_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_CSV_ARG_LIST_HPP_ER_2010
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/generator.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,170 +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_CSV_GENERATOR_HPP_ER_2010
-#define BOOST_ASSIGN_V2_PUT_PIPE_CSV_GENERATOR_HPP_ER_2010
-#include <boost/assign/v2/ref/array/csv.hpp>
-#include <boost/assign/v2/ref/wrapper/copy.hpp>
-#include <boost/assign/v2/put/pipe/csv/arg_list.hpp>
-#include <boost/assign/v2/put/pipe/modulo_traits.hpp>
-#include <boost/mpl/apply.hpp>
-#include <boost/mpl/vector/vector0.hpp>
-#include <boost/mpl/size.hpp>
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#if !BOOST_ASSIGN_V2_ENABLE_CPP0X
-#include <boost/assign/v2/detail/config/limit_csv_arity.hpp>
-#include <boost/mpl/aux_/na.hpp>
-#include <boost/preprocessor/arithmetic/inc.hpp>
-#include <boost/preprocessor/repetition.hpp>
-#endif
-
-namespace boost{
- struct use_default;
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- template<typename ParList = ::boost::mpl::vector0<> >
- class csv_generator
- {
-
- typedef ::boost::mpl::na na_;
- typedef modulo_traits<ParList> modulo_traits_;
-
- public:
-
- typedef typename modulo_traits_::size par_list_size;
- typedef typename modulo_traits_::cont_ par_list_cont_type;
-
- csv_generator(){}
- explicit csv_generator(par_list_cont_type const& p)
- : par_list_cont_( p ){}
-
- template<typename P>
- struct modulo_result
- {
- typedef typename modulo_traits_:: template next_par_list<
- P
- >::type par_list_;
- typedef csv_generator<par_list_> type;
- };
-
- template<typename P>
- typename modulo_result<P>::type
- operator%(P const& p)const
- {
- typedef typename modulo_result<P>::type result_;
- return result_( this->par_list_cont()( p ) );
- }
-
- template<std::size_t N, typename U = na_> // size?
- struct result{
- typedef put_pipe_aux::arg_list<ParList, N, U> type;
- };
-
- typename result<0>::type
- operator()()const
- {
- typedef typename result<0>::type result_;
- return result_(
- *this,
- ref::csv_array<na_>( _nil )
- );
- }
-
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-
- protected:
- template<typename T, typename...Args>
- typename result<sizeof...(Args)+1, T>::type
- impl(T& t, Args&...args)const
- {
- typedef typename result<sizeof...(Args)+1, T>::type result_;
- namespace ns = ref::assign_copy;
- return result_(
- this->par_list_cont(),
- ref::csv_array( t, args... )
- );
- }
-
- public:
-
- template<typename T, typename...Args>
- typename boost::lazy_disable_if<
- v2::type_traits::or_const<T, Args...>,
- result<sizeof...(Args)+1, T>
- >::type
- operator()(T& t, Args&...args)const
- {
- return this->impl(t, args...);
- }
-
- template<typename T, typename...Args>
- typename result<sizeof...(Args)+1, T const>::type
- operator()(T const& t, Args const&...args)const
- {
- return this->impl(t, args...);
- }
-
-#else
-
-#define BOOST_ASSIGN_V2_MACRO1(N, U)\
- return result_( \
- this->par_list_cont(), \
- ref::csv_array<U>( BOOST_PP_ENUM_PARAMS(N, _) ) \
- );\
-/**/
-#define BOOST_ASSIGN_V2_MACRO2(z, N, data)\
- template<typename T>\
- typename result<N, T>::type\
- operator()( BOOST_PP_ENUM_PARAMS(N, T &_) )const \
- { \
- typedef typename result<N, T>::type result_;\
- BOOST_ASSIGN_V2_MACRO1( N, T )\
- } \
- template<typename T>\
- typename result<N, T const>::type\
- operator()( BOOST_PP_ENUM_PARAMS(N, T const &_) )const \
- { \
- typedef typename result<N, T const>::type result_;\
- BOOST_ASSIGN_V2_MACRO1( N, T const )\
- } \
-/**/
-
-BOOST_PP_REPEAT_FROM_TO(
- 1,
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),
- BOOST_ASSIGN_V2_MACRO2,
- ~
-)
-#undef BOOST_ASSIGN_V2_MACRO1
-#undef BOOST_ASSIGN_V2_MACRO2
-
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
-
- par_list_cont_type const& par_list_cont()const
- {
- return this->par_list_cont_;
- }
-
- protected:
- par_list_cont_type par_list_cont_;
-
- };
-
-}// put_pipe_aux
-
- put_pipe_aux::csv_generator<> const _csv_put
- = put_pipe_aux::csv_generator<>();
-
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_CSV_GENERATOR_HPP_ER_2010
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/operator.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,40 +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_CSV_OPERATOR_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_CSV_OPERATOR_ER_2010_HPP
-#include <boost/assign/v2/ref/array/as_arg_list.hpp>
-#include <boost/assign/v2/ref/list/as_modulo_list.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
-#include <boost/assign/v2/put/pipe/csv/rhs.hpp>
-#include <boost/assign/v2/put/pipe/csv/size_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- template<typename C,
- typename ParList, csv_size_type N, typename U>
- C& operator|(C& cont, put_pipe_aux::csv_rhs<ParList, N, U> const& arg_list_){
-
- v2::ref::as_arg_list(
- v2::ref::as_modulo_list<ParList>( put( cont ), arg_list.par_list_cont() ),
- rhs_.arg_list_cont()
- );
- return cont;
-
- }
-
-}// put_pipe_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_CSV_OPERATOR_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/csv/size_type.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,26 +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_CSV_SIZE_TYPE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_CSV_SIZE_TYPE_ER_2010_HPP
-#include <boost/assign/v2/ref/list/size_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- typedef ref::list_aux::size_type csv_size_type;
-
-}// put_pipe_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_CSV_SIZE_TYPE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,16 +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_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_ER_2010_HPP
-#include <boost/assign/v2/put/pipe/functor/operator.hpp>
-#include <boost/assign/v2/put/pipe/functor/args_list.hpp>
-#include <boost/assign/v2/put/pipe/functor/size_type.hpp>
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/args_list.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/args_list.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/args_list.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,272 +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_ARGS_LIST_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_ARGS_LIST_ER_2010_HPP
-#include <boost/mpl/apply.hpp>
-#include <boost/mpl/int.hpp>
-#include <boost/mpl/size.hpp>
-#include <boost/mpl/vector/vector0.hpp>
-
-#include <boost/assign/v2/ref/list_tuple.hpp>
-#include <boost/assign/v2/put/pipe/modulo_traits.hpp>
-
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-#include <utility>
-#include <boost/assign/v2/temporary/variadic_vector.hpp>
-#else
-#include <boost/preprocessor/cat.hpp>
-#include <boost/preprocessor/arithmetic/inc.hpp>
-#include <boost/preprocessor/repetition.hpp>
-#include <boost/assign/v2/detail/functor/crtp_unary_and_up.hpp>
-#endif
-
-namespace boost{
- struct use_default;
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- typedef ::boost::mpl::vector0<> empty_args_list_;
-
-#if! BOOST_ASSIGN_V2_ENABLE_CPP0X
- typedef ref::list_tuple_aux::na_type na_type;
-#endif
-
- template<typename ParList = empty_par_list_, typename ArgsList = empty_args_list_, bool enable_pars = ::boost::mpl::size<ArgsList>::value == 0>
- class args_list;
-
- template<typename ParList, typename ArgsList, bool enable_pars>
- struct args_list_result
- {
-
- template<typename V>
- struct next_helper
- {
- typedef typename ::boost::mpl::push_back<
- ArgsList, V
- >::type next_args_list_;
- typedef args_list<ParList, next_args_list_, enable_pars> type;
- };
-
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-
- template<typename...Args>
- struct apply : next_helper<
- typename ::boost::mpl::detail::variadic_vector<
- Args...
- >::type
- >
- {};
-
-#else
-
- template<typename V>
- struct apply : next_helper<V>{};
-
-#endif
-
- };
-
-
- template<typename ParList, typename ArgsList, bool enable_pars>
- class args_list
-#if !BOOST_ASSIGN_V2_ENABLE_CPP0X
- : public functor_aux::crtp_unary_and_up<
- args_list<ParList, ArgsList, enable_pars>,
- args_list_result<ParList, ArgsList, enable_pars>
- >
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
- {
- typedef boost::use_default list_tag_;
- typedef modulo_traits<ParList> modulo_traits_;
- typedef ref::nth_result_of::list_tuple meta_;
-
- public:
-
- typedef typename modulo_traits_::size par_list_size;
- typedef typename modulo_traits_::cont_ par_list_cont_type;
-
- BOOST_STATIC_CONSTANT(
- std::size_t, // size_type?
- args_list_size = ::boost::mpl::size<ArgsList>::value
- );
-
- typedef typename ::boost::mpl::apply1<
- meta_, ArgsList
- >::type args_list_cont_type;
-
- args_list(){}
- explicit args_list(par_list_cont_type const& a, args_list_cont_type const& b)
- : par_list_cont_( a ), args_list_cont_( b ){}
-
- // operator%
-
- template<typename P>
- struct modulo_result
- {
- typedef typename modulo_traits_::template
- next_par_list<P>::type par_list_;
- typedef args_list<par_list_, ArgsList> type;
- };
-
- template<typename P>
- typename boost::lazy_enable_if_c<
- enable_pars,
- modulo_result<P>
- >::type
- operator%(P const& p)const
- {
- typedef typename modulo_result<P>::type result_;
- return result_(
- this->par_list_cont()( p ),
- this->args_list_cont()
- );
- }
-
- // operator()
-
- template<
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
- typename...Args
-#else
- typename VArgs
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
- >
- struct result : args_list_result<
- ParList,
- ArgsList,
- enable_pars
- >::template apply<
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
- Args...
-#else
- VArgs
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
- >{};
-
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-
- public:
-
- template<typename ...Args>
- typename result<Args...>::type
- operator()(Args&&...args )const
- {
- typedef typename result<Args...>::type result_;
- return result_(
- this->par_list_cont(),
- this->args_list_cont()(
- std::forward<Args>( args )...
- )
- );
- }
-
-#else
- protected:
-
- typedef functor_aux::crtp_unary_and_up<
- args_list,
- args_list_result<ParList, ArgsList, enable_pars>
- > super_t;
-
- typedef ::boost::mpl::vector0<> v0_;
-
- public:
-
- using super_t::operator();
-
- typename result<v0_>::type
- operator()()const
- {
- typedef typename result<v0_>::type result_;
- return result_(
- this->par_list_cont(),
- this->args_list_cont()()
- );
- }
-
-#define BOOST_ASSIGN_V2_MACRO1( z, n, data )\
- ( BOOST_PP_CAT(_,n) )\
-/**/
-#define BOOST_ASSIGN_V2_MACRO2(z, N1, data)\
- template<BOOST_PP_ENUM_PARAMS(N1, typename U)>\
- typename result<\
- ::boost::mpl::vector<\
- BOOST_PP_ENUM_PARAMS(N1, U)\
- >\
- >::type\
- impl( BOOST_PP_ENUM_BINARY_PARAMS(N1, U, &_) )const{\
- typedef ::boost::mpl::vector<\
- BOOST_PP_ENUM_PARAMS(N1, U)\
- > v_;\
- typedef typename result<v_>::type result_;\
- return result_(\
- this->par_list_cont(),\
- this->args_list_cont()( BOOST_PP_ENUM_PARAMS(N1, _) )\
- );\
- }\
-/**/
-BOOST_PP_REPEAT_FROM_TO(
- 1,
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_ARITY),
- BOOST_ASSIGN_V2_MACRO2,
- ~
-)
-#undef BOOST_ASSIGN_V2_MACRO1
-#undef BOOST_ASSIGN_V2_MACRO2
-
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
-
- par_list_cont_type const& par_list_cont()const
- {
- return this->par_list_cont_;
- }
- args_list_cont_type const& args_list_cont()const
- {
- return this->args_list_cont_;
- }
-
- protected:
-
- par_list_cont_type par_list_cont_;
- args_list_cont_type args_list_cont_;
-
- };
-
- // For testing purposes
- template<int i, int j, typename T, typename P, typename U>
- void check_args_list(T const& args_list, P const& pred, U const& u)
- {
- #if BOOST_ASSIGN_V2_ENABLE_CPP0X
- using namespace boost::assign::v2::ref; // tuple (cpp0x)
- #else
- using namespace boost; // tuple<> (cpp03)
- #endif
-
- //std::cout << "(i,j)->" << get<j>(
- // args_list.args_list().get( boost::mpl::int_<i>() )
- // ) << std::endl;
-
- pred(
- get<j>(
- args_list.args_list_cont().get( boost::mpl::int_<i>() )
- ),
- u
- );
- }
-
-
-}// put_pipe_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_ARGS_LIST_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/operator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/operator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/operator.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,53 +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_OPERATOR_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_OPERATOR_ER_2010_HPP
-#include <boost/assign/v2/ref/list/as_modulo_list.hpp>
-#include <boost/assign/v2/ref/list_tuple/as_args_list.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
-#include <boost/assign/v2/put/pipe/functor/args_list.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- template<
- typename C,
- typename ParList,
- typename ArgsList,
- bool enable_pars
- >
- C& operator|(
- C& cont,
- put_pipe_aux::args_list<
- ParList, ArgsList, enable_pars
- > const& args_list_
- ){
- ref::as_args_list(
- ref::as_modulo_list<ParList>(
- put( cont ), args_list_.par_list_cont()
- ),
- args_list_.args_list_cont()
- );
- return cont;
- }
-
-}// put_pipe_aux
-namespace{
-
- put_pipe_aux::args_list<> const _put = put_pipe_aux::args_list<>();
-
-}
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_OPERATOR_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/size_type.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,26 +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_SIZE_TYPE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_SIZE_TYPE_ER_2010_HPP
-#include <boost/assign/v2/ref/list_tuple/size_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_pipe_aux{
-
- typedef ref::list_tuple_aux::list_size_type size_type;
-
-}// put_pipe_aux
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_PUT_PIPE_FUNCTOR_SIZE_TYPE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/modulo_traits.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/modulo_traits.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/modulo_traits.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
 #ifndef BOOST_ASSIGN_V2_PUT_PIPE_MODULO_TRAITS_ER_2010_HPP
 #define BOOST_ASSIGN_V2_PUT_PIPE_MODULO_TRAITS_ER_2010_HPP
 #include <boost/assign/v2/ref/list/as_modulo_list.hpp>
-#include <boost/assign/v2/ref/list/nth_result_of.hpp>
+#include <boost/assign/v2/ref/list/list.hpp>
 #include <boost/mpl/apply.hpp>
 #include <boost/mpl/push_back.hpp>
 #include <boost/mpl/size.hpp>

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/range.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/range.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/range.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,7 +9,7 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_PUT_PIPE_RANGE_ER_2010_HPP
 #define BOOST_ASSIGN_V2_PUT_PIPE_RANGE_ER_2010_HPP
-#include <boost/assign/v2/put/container/range.hpp>
+#include <boost/assign/v2/put/container/put_range.hpp>
 #include <boost/assign/v2/ref/wrapper/copy.hpp>
 #include <boost/type.hpp>
 

Modified: sandbox/assign_v2/boost/assign/v2/ref/array.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -13,5 +13,6 @@
 #include <boost/assign/v2/ref/array/conversion.hpp>
 #include <boost/assign/v2/ref/array/csv.hpp>
 #include <boost/assign/v2/ref/array/functor.hpp>
+#include <boost/assign/v2/ref/array/size_type.hpp>
 
 #endif // BOOST_ASSIGN_V2_REF_ARRAY_ER_2010_HPP

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/alloc/instant.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,8 +9,8 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_INSTANT_ER_2010_HPP
 #define BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_INSTANT_ER_2010_HPP
+#include <boost/assign/v2/ref/array/alloc/impl_traits.hpp>
 #include <boost/assign/v2/ref/array/alloc/instant_fwd.hpp>
-#include <boost/assign/v2/ref/array/impl_traits.hpp>
 #include <boost/assign/v2/ref/array/interface.hpp>
 #include <boost/assign/v2/ref/wrapper.hpp>
 

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/alloc/lazy.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,8 +9,8 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_LAZY_ER_2010_HPP
 #define BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_LAZY_ER_2010_HPP
+#include <boost/assign/v2/ref/array/alloc/impl_traits.hpp>
 #include <boost/assign/v2/ref/array/alloc/lazy_fwd.hpp>
-#include <boost/assign/v2/ref/array/impl_traits.hpp>
 #include <boost/assign/v2/ref/array/interface.hpp>
 #include <boost/assign/v2/ref/wrapper.hpp>
 #include <boost/shared_ptr.hpp>
@@ -21,9 +21,9 @@
 namespace ref{
 namespace array_aux{
 
- template<std::size_t N, typename T, typename D>
- class lazy_alloc : public array_aux::interface<
- typename array_aux::impl_traits<N, T>::array_type,
+ template<size_type N, typename T, typename D>
+ class lazy_alloc : public array_aux::interface<
+ typename array_aux::impl_traits<N, T>::array_type,
         lazy_alloc<N, T, D>
>
     {

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/csv.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/csv.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/csv.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,7 +9,12 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_REF_ARRAY_CSV_ER_2010_HPP
 #define BOOST_ASSIGN_V2_REF_ARRAY_CSV_ER_2010_HPP
-#include <boost/assign/v2/ref/array/csv/make.hpp>
-#include <boost/assign/v2/ref/array/csv/nth_result_of.hpp>
+#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
+#include <boost/assign/v2/ref/array/csv/common.hpp>
+#if BOOST_ASSIGN_V2_ENABLE_CPP0X
+#include <boost/assign/v2/ref/array/csv/cpp0x.hpp>
+#else
+#include <boost/assign/v2/ref/array/csv/cpp03.hpp>
+#endif
 
 #endif // BOOST_ASSIGN_V2_REF_ARRAY_CSV_ER_2010_HPP

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/csv/make.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/csv/make.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/csv/make.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,147 +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_REF_ARRAY_CSV_MAKE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_ARRAY_CSV_MAKE_ER_2010_HPP
-#include <boost/assign/v2/detail/keyword/nil.hpp>
-#include <boost/assign/v2/ref/array/alloc/instant.hpp>
-#include <boost/assign/v2/ref/array/csv/nth_result_of.hpp>
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#include <boost/mpl/assert.hpp>
-#include <boost/type_traits/is_same.hpp>
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-#include <utility>
-#include <boost/assign/v2/detail/traits/type/or_const.hpp>
-#include <boost/config.hpp>
-#include <boost/utility/enable_if.hpp>
-#else
-#include <boost/assign/v2/detail/config/limit_csv_arity.hpp>
-#include <boost/preprocessor/arithmetic/inc.hpp>
-#include <boost/preprocessor/cat.hpp>
-#include <boost/preprocessor/repetition.hpp>
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-namespace result_of{
-
- template<typename T>
- struct empty_csv_array
- : nth_result_of::csv_array<0, T>{};
-
-}// result_of
-
- template<typename T>
- typename result_of::empty_csv_array<T>::type
- csv_array( keyword_aux::nil )
- {
- typedef typename result_of::empty_csv_array<T>::type result_;
- return result_();
- }
-
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-namespace csv_array_aux{
-
-
- // TODO size_type?
- template<std::size_t n, typename R>
- void assign(R& r){}
-
- template<std::size_t n, typename U, typename R, typename... Args>
- void assign(R& r, U& u, Args&...args)
- {
- typedef typename R::wrapper_type wrapper_;
- r.rebind( n, u );
- csv_array_aux::assign<n + 1>(r, args...);
- }
-
- template<typename U, typename... Args>
- struct result
- {
- BOOST_STATIC_CONSTANT(std::size_t, n = 1 + sizeof...(Args) );
- typedef typename nth_result_of::csv_array<
- n,
- U
- >::type type;
-
- static type call(U& u, Args&...args)
- {
- type result;
- csv_array_aux::assign<0>(result, u, args...);
- return result;
- }
-
- };
-
-}// csv_array_aux
-
- template<typename T, typename...TArgs>
- typename boost::lazy_disable_if<
- v2::type_traits::or_const<T, TArgs...>,
- csv_array_aux::result<T, TArgs...>
- >::type
- csv_array( T& t, TArgs&...args )
- {
- typedef csv_array_aux::result<T, TArgs...> caller_;
- return caller_::call( t, args... );
- }
-
- template<typename T, typename...TArgs>
- typename csv_array_aux::result<T const, TArgs const...>::type
- csv_array( T const& t, TArgs const&...args )
- {
- typedef csv_array_aux::result<T const, TArgs const...> caller_;
- return caller_::call( t, args... );
- }
-
-#else
-
-#define BOOST_ASSIGN_V2_MACRO1(z, i, data) r.rebind(i, BOOST_PP_CAT(data, i) );
-#define BOOST_ASSIGN_V2_MACRO2(z, n, U)\
-namespace csv_array_aux{\
- template<typename T>\
- typename nth_result_of::csv_array<n, T>::type\
- csv_array( BOOST_PP_ENUM_PARAMS(n, T& _) )\
- {\
- typedef typename nth_result_of::csv_array<n, T>::type result_;\
- result_ r;\
- BOOST_PP_REPEAT( n, BOOST_ASSIGN_V2_MACRO1, _ )\
- return r;\
- }\
-}\
- template<typename T>\
- typename nth_result_of::csv_array<n, T>::type\
- csv_array( BOOST_PP_ENUM_PARAMS(n, T& _) ){ \
- return csv_array_aux::csv_array<T>( BOOST_PP_ENUM_PARAMS(n, _) );\
- }\
- template<typename T>\
- typename nth_result_of::csv_array<n, T const>::type\
- csv_array( BOOST_PP_ENUM_PARAMS(n, T const& _) ){ \
- return csv_array_aux::csv_array<T const>( BOOST_PP_ENUM_PARAMS(n, _) );\
- }\
-/**/
-
-BOOST_PP_REPEAT_FROM_TO(
- 1,
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),
- BOOST_ASSIGN_V2_MACRO2,
- ~
-)
-#undef BOOST_ASSIGN_V2_MACRO1
-#undef BOOST_ASSIGN_V2_MACRO2
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
-
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_ARRAY_CSV_MAKE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/csv/nth_result_of.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,41 +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_REF_ARRAY_CSV_NTH_RESULT_OF_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_ARRAY_CSV_NTH_RESULT_OF_ER_2010_HPP
-#include <boost/assign/v2/ref/array/alloc/instant_fwd.hpp>
-#include <boost/assign/v2/ref/array/impl_traits.hpp>
-#include <boost/assign/v2/ref/array/tag1.hpp>
-
-namespace boost{
- struct use_default;
-namespace assign{
-namespace v2{
-namespace ref{
-namespace array_aux{
-
- typedef boost::use_default csv_tag2_;
-
-}// array_aux
-namespace nth_result_of{
-
- template<std::size_t N, typename T>
- struct csv_array
- {
- typedef ref::array_tag1_ tag1_;
- typedef array_aux::instant_alloc<N, T> type;
- };
-
-}// nth_result_of
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/functor.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/functor.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/functor.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,8 +9,75 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_REF_ARRAY_FUNCTOR_ER_2010_HPP
 #define BOOST_ASSIGN_V2_REF_ARRAY_FUNCTOR_ER_2010_HPP
-#include <boost/assign/v2/ref/array/functor/make.hpp>
-#include <boost/assign/v2/ref/array/functor/nth_result_of.hpp>
+#include <boost/assign/v2/ref/array/alloc/lazy.hpp>
+#include <boost/assign/v2/ref/array/size_type.hpp>
+#include <boost/assign/v2/ref/list/list.hpp>
+#include <boost/assign/v2/ref/list/array.hpp>
 
-#endif
+namespace boost{
+namespace assign{
+namespace v2{
+namespace ref{
+namespace array_aux{
+
+ template<typename T>
+ struct empty_array : empty_list<list_aux::array_tag>{};
+
+ template<size_type N, typename T>
+ struct recursive_result
+ {
+ typedef typename recursive_result<N-1, T>::type previous_;
+ typedef typename previous_::template result<T&>::type type;
+ };
+
+ template<typename T>
+ struct recursive_result<0, T> : empty_array<T>{};
+
+}// array_aux
+namespace nth_result_of{
+
+ template<array_size_type N, typename T>
+ struct array
+ : array_aux::recursive_result<N, T>
+ {};
+
+}// nth_result_of
+namespace result_of{
+
+ template<typename U, typename T = U>
+ struct array
+ : nth_result_of::array<1, U>{};
 
+ template<typename U>
+ struct array<U, keyword_aux::nil>
+ : nth_result_of::array<0, U>{};
+
+}// result_of
+
+ template<typename T>
+ typename result_of::array<T, keyword_aux::nil>::type
+ array( keyword_aux::nil )
+ {
+ return ref::list<list_aux::array_tag>( v2::_nil );
+ }
+
+ template<typename T>
+ typename result_of::array<T>::type
+ array(T& t)
+ {
+ return array<T>( v2::_nil )( t );
+ }
+
+ template<typename T>
+ typename result_of::array<T const>::type
+ array(T const & t)
+ {
+ return array<T const>( v2::_nil )( t );
+ }
+
+}// ref
+}// v2
+}// assign
+}// boost
+
+#endif

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/functor/make.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/functor/make.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/functor/make.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,57 +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_REF_ARRAY_FUNCTOR_MAKE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_ARRAY_FUNCTOR_MAKE_ER_2010_HPP
-#include <boost/assign/v2/ref/array/alloc/lazy.hpp>
-#include <boost/assign/v2/ref/array/functor/nth_result_of.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-namespace result_of{
-
- template<typename T>
- struct empty_array
- : nth_result_of::array<0, T>{};
-
- template<typename T>
- struct array
- : nth_result_of::array<1, T>{};
-
-}// result_of
-
- template<typename T>
- typename result_of::empty_array<T>::type
- array( keyword_aux::nil const& )
- {
- return ref::list<list_aux::array_tag>( v2::_nil );
- }
-
- template<typename T>
- typename result_of::array<T>::type
- array(T& t)
- {
- return array<T>( v2::_nil )( t );
- }
-
- template<typename T>
- typename result_of::array<T const>::type
- array(T const & t)
- {
- return array<T const>( v2::_nil )( t );
- }
-
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_ARRAY_FUNCTOR_MAKE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/functor/nth_result_of.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,50 +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_REF_ARRAY_FUNCTOR_NTH_RESULT_OF_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_ARRAY_FUNCTOR_NTH_RESULT_OF_ER_2010_HPP
-#include <boost/assign/v2/ref/array/size_type.hpp>
-#include <boost/assign/v2/ref/list/array.hpp>
-#include <boost/assign/v2/ref/list/container.hpp>
-#include <boost/assign/v2/ref/list/make.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-namespace array_aux{
-
- template<typename T>
- struct empty_array : ref::empty_list<list_aux::array_tag>{};
-
- template<size_type N, typename T>
- struct recursive_result
- {
- typedef typename recursive_result<N-1, T>::type previous_;
- typedef typename previous_::template result<T&>::type type;
- };
-
- template<typename T>
- struct recursive_result<0, T> : empty_array<T>{};
-
-}// array_aux
-namespace nth_result_of{
-
- template<array_aux::size_type N, typename T>
- struct array
- : array_aux::recursive_result<N, T>
- {};
-
-}// nth_result_of
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/impl_traits.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,37 +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_REF_ARRAY_IMPL_TRAITS_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_ARRAY_IMPL_TRAITS_ER_2010_HPP
-#include <boost/array.hpp>
-#include <boost/assign/v2/ref/array/size_type.hpp>
-#include <boost/assign/v2/ref/wrapper.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-namespace array_aux{
-
- template<size_type N, typename T, typename Tag = ref::assign_tag::copy>
- struct impl_traits
- {
- typedef T value_type;
- typedef Tag assign_tag;
- typedef typename ref::wrapper<assign_tag, value_type> wrapper_type;
- typedef boost::array<wrapper_type,N> array_type;
- };
-
-}// array_aux
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_ARRAY_IMPL_TRAITS_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/size_type.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -20,6 +20,9 @@
     typedef std::size_t size_type;
 
 }// array_aux
+
+ typedef array_aux::size_type array_size_type;
+
 }// ref
 }// v2
 }// assign

Modified: sandbox/assign_v2/boost/assign/v2/ref/array/tag1.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/tag1.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/tag1.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,27 +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_REF_ARRAY_TAG1_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_ARRAY_TAG1_ER_2010_HPP
-#include <boost/assign/v2/ref/wrapper/copy.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-
- typedef assign_tag::copy array_tag1_;
-
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_ARRAY_TAG1_ER_2010_HPP
-
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/convert_traits/checking.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -62,66 +62,6 @@
 
 }// twin_values
 
-// TODO possible extension
-/*
-namespace distinct_value_type{
-
- template<typename T1, typename T2, typename T3>
- void do_check_impl(const T1&, const T2& ,const T3&)
- {
-
- tester<const T1&, const T2&, const T3 >::test();
- tester<const T1&, T2&, const T3 >::test();
- tester< T1&, const T2&, const T3 >::test();
- tester< T1&, T2&, T3 >::test();
-
- tester<const T1&, const T2 , const T3 >::test();
- tester<const T1&, T2 , const T3 >::test();
- tester< T1&, const T2 , const T3 >::test();
- tester< T1&, T2 , T3 >::test();
-
- tester<const T1 , const T2&, const T3 >::test();
- tester<const T1 , T2&, const T3 >::test();
- tester< T1 , const T2&, const T3 >::test();
- tester< T1 , T2&, T3 >::test();
-
- tester<const T1 , const T2 , const T3 >::test();
- tester<const T1 , T2 , const T3 >::test();
- tester< T1 , const T2 , const T3 >::test();
- tester< T1 , T2 , T3 >::test();
-
- }
-
-#define BOOST_ASSIGN_V2_MACRO(T1, T2, T3) \
- template<typename T> \
- void do_check( \
- typename boost::enable_if< \
- boost::is_same<T,T1> \
- >::type* = 0 \
- ) \
- { \
- distinct_values::do_check_impl( T1(), T2(), T3() ); \
- } \
-*/
-/**/
-
-/*
-// don't try to guess the supertype, it may vary by compiler.
-namespace supertype_{
- typedef boost::numeric::conversion_traits<short, int>::supertype a_;
- typedef boost::numeric::conversion_traits<int, long>::supertype b_;
- typedef boost::numeric::conversion_traits<float, double>::supertype c_;
- typedef boost::numeric::conversion_traits<
- double,long double>::supertype d_;
-}// supertype_
-BOOST_ASSIGN_V2_MACRO(short , int, supertype_::a_)
-BOOST_ASSIGN_V2_MACRO(int , long, supertype_::b_)
-BOOST_ASSIGN_V2_MACRO(float , double, supertype_::c_)
-typedef long double long_double_;
-BOOST_ASSIGN_V2_MACRO(double , long_double_, workaround::d_)
-#undef BOOST_ASSIGN_V2_MACRO
-}// distinct_value_type
-*/
 
 }// checking
 }// convert_traits

Modified: sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/convert_traits/value.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -29,16 +29,6 @@
 
     template<typename V1, typename V2> struct value<V1, V2, false, false>{};
 
- // TODO possible extension
- // #include <boost/type_traits/is_arithmetic.hpp>
- // #include <boost/numeric/conversion/conversion_traits.hpp>
- // struct value : ::boost::mpl::eval_if<
- // mpl::and_<is_arithmetic<V1>, is_arithmetic<V2> >,
- // boost::numeric::conversion_traits<V1, V2>::supertype.
- // ... as above ...
- // >{};
-
-
 }// convert_traits
 }// ref
 }// v2

Modified: sandbox/assign_v2/boost/assign/v2/ref/list.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -13,10 +13,9 @@
 #include <boost/assign/v2/ref/list/as_modulo_list.hpp>
 #include <boost/assign/v2/ref/list/at.hpp>
 #include <boost/assign/v2/ref/list/container.hpp>
+#include <boost/assign/v2/ref/list/fwd.hpp>
 #include <boost/assign/v2/ref/list/holder.hpp>
-#include <boost/assign/v2/ref/list/make.hpp>
-#include <boost/assign/v2/ref/list/nth_result_of.hpp>
+#include <boost/assign/v2/ref/list/list.hpp>
 #include <boost/assign/v2/ref/list/policy.hpp>
-#include <boost/assign/v2/ref/list/size_type.hpp>
 
 #endif // BOOST_ASSIGN_V2_REF_LIST_ER_2010_HPP

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/array/policy.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -12,7 +12,6 @@
 #include <boost/assign/v2/ref/array/alloc/lazy.hpp>
 #include <boost/assign/v2/ref/list/fwd.hpp>
 #include <boost/assign/v2/ref/list/holder.hpp>
-#include <boost/assign/v2/ref/list/size_type.hpp>
 #include <boost/assign/v2/ref/list/policy.hpp>
 #include <boost/mpl/eval_if.hpp>
 #include <boost/mpl/identity.hpp>

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/array/rebind.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/array/rebind.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/array/rebind.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -11,7 +11,6 @@
 #define BOOST_ASSIGN_V2_REF_LIST_ARRAY_REBIND_ER_2010_HPP
 #include <boost/assign/v2/ref/list/fwd.hpp>
 #include <boost/assign/v2/ref/list/at.hpp>
-#include <boost/assign/v2/ref/list/size_type.hpp>
 #include <boost/mpl/bool.hpp>
 #include <boost/mpl/equal_to.hpp>
 #include <boost/mpl/int.hpp>

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/as_modulo_list.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/as_modulo_list.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/as_modulo_list.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -11,7 +11,6 @@
 #define BOOST_ASSIGN_V2_LIST_REF_AS_MODULO_LIST_ER_2010_HPP
 #include <boost/assign/v2/ref/list/at.hpp>
 #include <boost/assign/v2/ref/list/fwd.hpp>
-#include <boost/assign/v2/ref/list/size_type.hpp>
 #include <boost/mpl/at.hpp>
 #include <boost/mpl/size.hpp>
 #include <boost/typeof/typeof.hpp>

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/at.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,6 @@
 #ifndef BOOST_ASSIGN_V2_REF_LIST_AT_ER_2010_HPP
 #define BOOST_ASSIGN_V2_REF_LIST_AT_ER_2010_HPP
 #include <boost/assign/v2/ref/list/fwd.hpp>
-#include <boost/assign/v2/ref/list/size_type.hpp>
 #include <boost/assign/v2/ref/list/holder.hpp>
 #include <boost/call_traits.hpp>
 #include <boost/mpl/bool.hpp>
@@ -26,17 +25,16 @@
 
     template<size_type I, typename T>
     struct is_head :
- ::boost::mpl::bool_< I + 1 == T::static_size::value>{};
-// ::boost::mpl::bool_< I + 1 == T::size::value>{};
+ ::boost::mpl::bool_<I + 1 == T::static_size::value>{};
 
 namespace result_of{
 
- template<size_type I, typename T>
- struct at : ::boost::mpl::eval_if<
- list_aux::is_head<I, T>
- ,head_reference<T>
- ,result_of::at<I, typename tail_of<T>::type>
- >{};
+ template<size_type I, typename T>
+ struct at : ::boost::mpl::eval_if<
+ list_aux::is_head<I, T>
+ ,head_reference<T>
+ ,result_of::at<I, typename tail_of<T>::type>
+ >{};
 
 }// result_of
 
@@ -71,6 +69,8 @@
 using list_aux::at;
 namespace result_of{
 
+ // TODO rename at_list
+
     template<list_aux::size_type I, typename T>
     struct at : list_aux::result_of::at<I, T>{};
 

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/container.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -13,13 +13,7 @@
 #include <boost/assign/v2/ref/list/holder/tail.hpp>
 #include <boost/assign/v2/ref/list/holder/head.hpp>
 #include <boost/assign/v2/ref/list/policy.hpp>
-/* // TODO possible extension
-#include <boost/config.hpp>
-#ifndef BOOST_NO_RVALUE_REFERENCES
-#include <utility>
-#else */
 #include <boost/call_traits.hpp>
-//#endif
 #include <boost/mpl/apply.hpp>
 #include <boost/type_traits/is_same.hpp>
 
@@ -49,26 +43,6 @@
             typedef container<Tag, H1, this_> type;
         };
 
-/* // TODO possible extension
-#ifndef BOOST_NO_RVALUE_REFERENCES
- explicit container(
- H&& h,
- typename boost::call_traits<T>::param_type t
- )
- : head_holder_( std::forward<H>( h ) ),
- tail_holder_( t )
- {
- }
-
- template<typename H1>
- typename result<H1>::type
- operator()(H1&& h)const{
- typedef typename result<H1>::type result_;
- return result_( std::forward<H1>( h ), *this);
- }
-
-#else */
-
         explicit container(
             H h,
             typename boost::call_traits<T>::param_type t
@@ -90,8 +64,6 @@
             return result_( h, *this);
         }
         
-// #endif
-
 
     };
 

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/fwd.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -17,6 +17,8 @@
 namespace ref{
 namespace list_aux{
 
+ typedef int size_type;
+
     template<typename Tag> struct empty_list;
 
     struct void_;

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/holder/head.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/holder/head.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/holder/head.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -13,41 +13,13 @@
 #include <boost/config.hpp>
 #include <boost/type_traits/add_reference.hpp>
 
-/*
-// TODO possible extension
-#include <boost/config.hpp>
-#ifndef BOOST_NO_RVALUE_REFERENCES
-#include <utility>
-#endif */
-
 namespace boost{
 namespace assign{
 namespace v2{
 namespace ref{
 namespace list_aux{
 
-/* // TODO possible extension, but unsure effects in relation with ref-arrays
-
-#ifndef BOOST_NO_RVALUE_REFERENCES
- template<typename T>
- struct head_holder{
-
- typedef T head_value_type;
-
- explicit head_holder(T&& t)
- : head(
- std::move( t )
- ){}
-
- T&& head;
-
- };
-#else */
-
- template<typename T> struct head_holder{
- // undefined
- };
-//#endif
+ template<typename T> struct head_holder{};
 
     template<typename T> struct head_holder<T&>{
 

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/make.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,37 +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_REF_LIST_MAKE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_LIST_MAKE_ER_2010_HPP
-#include <boost/assign/v2/detail/keyword/nil.hpp>
-#include <boost/assign/v2/ref/list/container.hpp>
-
-namespace boost{
- struct use_default;
-namespace assign{
-namespace v2{
-namespace ref{
-
- template<typename Tag>
- struct empty_list{ typedef list_aux::container<Tag> type; };
-
- template<typename Tag>
- typename empty_list<Tag>::type
- list( keyword_aux::nil )
- {
- typedef typename empty_list<Tag>::type result_;
- return result_();
- }
-
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_LIST_MAKE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/nth_result_of.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/nth_result_of.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/nth_result_of.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,62 +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_REF_LIST_NTH_RESULT_OF_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_LIST_NTH_RESULT_OF_ER_2010_HPP
-#include <boost/assign/v2/ref/list/fwd.hpp>
-#include <boost/assign/v2/ref/list/make.hpp>
-#include <boost/mpl/apply.hpp>
-#include <boost/mpl/fold.hpp>
-#include <boost/mpl/placeholders.hpp>
-#include <boost/mpl/vector.hpp> // Convenience header for the client of nth_result
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-namespace list_aux{
-
- template<typename Tag>
- struct nth_result
- {
-
- typedef typename ref::empty_list<Tag>::type state_;
-
- template<typename State, typename T>
- struct result : State::template result<T>{};
-
- template<typename Vec>
- struct apply : ::boost::mpl::fold<
- Vec,
- state_,
- result< ::boost::mpl::_1, ::boost::mpl::_2>
- >{};
-
- };
-
-}// fusion_aux
-namespace nth_result_of{ // TODO this should be result_of
-
- template<typename Tag>
- struct list
- {
- template<typename Vec>
- struct apply : ::boost::mpl::apply1<
- list_aux::nth_result<Tag>,
- Vec
- >{};
- };
-
-}// nth_result_of
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_LIST_NTH_RESULT_OF_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list/size_type.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,28 +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_REF_LIST_SIZE_TYPE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_LIST_SIZE_TYPE_ER_2010_HPP
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-namespace list_aux{
-
- typedef int size_type;
-
-}// list_aux
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_LIST_SIZE_TYPE_ER_2010_HPP
-
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/ref/list_tuple.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list_tuple.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list_tuple.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -10,7 +10,7 @@
 #ifndef BOOST_ASSIGN_V2_REF_LIST_TUPLE_ER_2010_HPP
 #define BOOST_ASSIGN_V2_REF_LIST_TUPLE_ER_2010_HPP
 #include <boost/assign/v2/ref/list_tuple/container.hpp>
-#include <boost/assign/v2/ref/list_tuple/keyword.hpp>
+#include <boost/assign/v2/ref/list_tuple/list_tuple.hpp>
 #include <boost/assign/v2/ref/list_tuple/nth_result_of.hpp>
 #include <boost/assign/v2/ref/list_tuple/as_args_list.hpp>
 

Modified: sandbox/assign_v2/boost/assign/v2/ref/list_tuple/keyword.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/list_tuple/keyword.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/list_tuple/keyword.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,35 +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_REF_LIST_TUPLE_KEYWORD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_REF_LIST_TUPLE_KEYWORD_ER_2010_HPP
-#include <boost/assign/v2/ref/list_tuple/container.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace ref{
-namespace result_of{
-
- typedef list_tuple_aux::container<0, list_tuple_aux::root> list_tuple;
-
-}// result_of
-namespace
-{
-
- result_of::list_tuple const
- list_tuple = result_of::list_tuple();
-
-}
-}// ref
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_REF_LIST_TUPLE_KEYWORD_ER_2010_HPP
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -9,7 +9,7 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_ER_2010_HPP
 #define BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_ER_2010_HPP
-#include <boost/assign/v2/put/container/range.hpp>
+#include <boost/assign/v2/put/container/put_range.hpp>
 #include <boost/assign/v2/utility/conversion/deduce_tag.hpp>
 
 namespace boost{

Modified: sandbox/assign_v2/libs/assign/v2/test/put/container.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -7,21 +7,123 @@
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
+#include <boost/array.hpp>
+#include <deque>
+#include <map>
+#include <list>
+#include <queue>
+#include <stack>
+#include <string>
+#include <utility>
+#include <boost/tuple/tuple.hpp>
+#include <boost/range/begin.hpp>
+#include <boost/range/end.hpp>
+#include <boost/numeric/conversion/bounds.hpp>
+#include <boost/assign/v2/detail/config/check.hpp>
+#include <boost/assign/v2/detail/functor/identity.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
+#include <boost/assign/v2/put/container/put_range.hpp>
 #include <libs/assign/v2/test/put/container/functor.h>
-#include <libs/assign/v2/test/put/container/range.h>
-#include <libs/assign/v2/test/put/container.h>
 
 namespace test_assign_v2{
 namespace xxx_put{
 namespace xxx_container{
 
- void test()
- {
- xxx_functor::test();
- xxx_range::test();
- }
+ void test(){
+
+ namespace as2 = boost::assign::v2;
+
+ {
+ //[put_array
+ const int sz = 3;
+ typedef boost::array<int, sz> r_;
+ boost::array<r_, sz> matrix3x3;
+ {
+ r_ r0, r1, r2;
+ /*<<Calls `r[i] = j` for [^( i, j ) = ( 0, 1 ), ( 1, 2 ), ( 2, 3 )]>>*/as2::put( r0 )( 1 )( 2 )( 3 );
+ as2::put( r1 )( 4 )( 5 )( 6 );
+ as2::put( r2 )( 7 )( 8 )( 9 );
+ /*<<Calls `matrix3x3[i] = r`, for [^( i, r ) = ( 0, r0 ), ( 1, r1 ), ( 2, r2 )]>>*/as2::put( matrix3x3 )( r0 )( r1 )( r2 );
+ }
+ for(int i = 0; i < 9; i++)
+ {
+ BOOST_ASSIGN_V2_CHECK( matrix3x3[ i / 3 ][ i % 3 ] == i + 1 );
+ }
+ //]
+ }
+ {
+ //[put_seq_var_args
+ typedef double elem_; typedef std::list<elem_> r_; typedef std::vector<r_> ragged_array_;
+ r_ a; /* Calls `a.push_back( t )` for [^t = 0.71, 0.63, 0.85] */ as2::put( a )( 0.71 )( 0.63 )( 0.85 );
+ r_ b; as2::put( b )( 0.61 )( 0.69 )( 0.92 )( 0.55 );
+ ragged_array_ ragged_array;
+ as2::put( ragged_array )
+ /*<<Calls `ragged_array.push_back( r_( boost::begin( a ), boost::end( a ) ) )`>>*/( boost::begin( a ), boost::end( a ) )
+ /*<<Calls `ragged_array.push_back( r_( b ) )`>>*/( b )
+ /*<<Calls `ragged_array.push_back( r_( 1, -99.99 ) )`>>*/( 1, -99.99 )
+ /*<<Calls `ragged_array.push_back( r_( ) )`>>*/( );
+
+ BOOST_ASSIGN_V2_CHECK( ragged_array[0].size() == a.size() );
+ BOOST_ASSIGN_V2_CHECK( ragged_array[1].size() == b.size() );
+ BOOST_ASSIGN_V2_CHECK( ragged_array[2].size() == 1 );
+ BOOST_ASSIGN_V2_CHECK( ragged_array[3].size() == 0 );
+ //]
+ elem_ eps = boost::numeric::bounds<elem_>::smallest();
+ BOOST_ASSIGN_V2_CHECK( abs( ragged_array[0].front() - a.front() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( abs( ragged_array[0].back() - a.back() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( abs( ragged_array[1].front() - b.front() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( abs( ragged_array[1].back() - b.back() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( abs( ragged_array[2].front() + 99.9 ) < eps );
+ BOOST_ASSIGN_V2_CHECK( abs( ragged_array[2].back() + 99.9 ) < eps );
+ }
+ {
+ //[put_adapter
+ std::queue<int> fifo; /*<<Calls `fifo.push( t )` for [^t = 72, 31, 48]>>*/as2::put( fifo )( 72 )( 31 )( 48 );
+
+ BOOST_ASSIGN_V2_CHECK( fifo.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( fifo.back() == 48 );
+ //]
+ }
+ {
+ using namespace boost;
+ //[put_seq_ref_tuple
+ typedef const char state_ [3]; state_ ct = "CT", nj = "NJ", ny = "NY";
+ typedef int code_; typedef boost::tuple<state_/*<<Notice the reference>>*/&, code_> area_code_;
+ std::deque< area_code_ > tri_state; /*Calls `tri_state.push_back( area_code_( s, c ) )` for [^( s, c ) = ( nj, 201 )( ct, 203 )( ny, 212 )( ny, 315 )( ny, 347 )( nj, 551 )]*/as2::put( tri_state )( nj, 201 )( ct, 203 )( ny, 212 )( ny, 315 )( ny, 347 )( nj, 551 );
+
+ BOOST_ASSIGN_V2_CHECK( get<0>( tri_state.front() ) == nj );
+ BOOST_ASSIGN_V2_CHECK( get<0>( tri_state.back() ) == nj );
+ BOOST_ASSIGN_V2_CHECK( get<1>( tri_state.front() ) == 201 );
+ BOOST_ASSIGN_V2_CHECK( get<1>( tri_state.back() ) == 551 );
+ //]
+ }
+ {
+ //[put_range_assign
+ typedef const char state_ [3]; state_ ct = "CT", nj = "NJ", ny = "NY", ca = "CA", /*ore = "OR",*/ wa = "WA";
+ typedef int code_; typedef boost::tuple<state_/*<<Notice the reference>>*/&, code_> area_code_;
+ std::deque< area_code_ > tri_state; as2::put( tri_state )( nj, 201 )( ct, 203 )( ny, 212 )( ny, 315 )( ny, 347 )( nj, 551 );
+ std::deque< area_code_ > pacific ; as2::put( pacific )( wa, 206 )( ca, 209 )( ca, 213 )( wa, 253 );
+
+ std::deque< area_code_ > states; as2::put_range( tri_state, states ); as2::put_range( pacific, states );
+
+ using namespace boost;
+ BOOST_ASSIGN_V2_CHECK( get<0>( states.front() ) == nj );
+ BOOST_ASSIGN_V2_CHECK( get<0>( states[tri_state.size()-1] ) == nj );
+ BOOST_ASSIGN_V2_CHECK( get<0>( states.front() ) == nj );
+ BOOST_ASSIGN_V2_CHECK( get<0>( states[tri_state.size()] ) == wa );
+ BOOST_ASSIGN_V2_CHECK( get<0>( states[tri_state.size() + pacific.size() - 1 ] ) == wa );
+ //]
+ }
+ {
+ //[put_range_constr
+ std::vector<int> r( 3 ); r[0] = 72; r[1] = 31; r[2] = 48;
+
+ BOOST_ASSIGN_V2_CHECK( as2::put_range< std:: stack<int> >( r ).top() == 48 );
+ //]
+ }
+
+ }// test()
 
 }// xxx_container
 }// xxx_put
 }// xxx_test_assign
-

Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/functor.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,104 +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) //
-//////////////////////////////////////////////////////////////////////////////
-#include <boost/array.hpp>
-#include <deque>
-#include <map>
-#include <list>
-#include <queue>
-#include <string>
-#include <utility>
-#include <boost/tuple/tuple.hpp>
-#include <boost/range/begin.hpp>
-#include <boost/range/end.hpp>
-#include <boost/numeric/conversion/bounds.hpp>
-#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/functor/identity.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
-#include <libs/assign/v2/test/put/container/functor.h>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_container{
-namespace xxx_functor{
-
- void test(){
-
- namespace as2 = boost::assign::v2;
-
- {
- //[array
- const int sz = 3;
- typedef boost::array<int, sz> r_;
- boost::array<r_, sz> matrix3x3;
- {
- r_ r0, r1, r2;
- /*<<Calls `r[i] = j` for [^( i, j ) = ( 0, 1 ), ( 1, 2 ), ( 2, 3 )]>>*/as2::put( r0 )( 1 )( 2 )( 3 );
- as2::put( r1 )( 4 )( 5 )( 6 );
- as2::put( r2 )( 7 )( 8 )( 9 );
- /*<<Calls `matrix3x3[i] = r`, for [^( i, r ) = ( 0, r0 ), ( 1, r1 ), ( 2, r2 )]>>*/as2::put( matrix3x3 )( r0 )( r1 )( r2 );
- }
- for(int i = 0; i < 9; i++)
- {
- BOOST_ASSIGN_V2_CHECK( matrix3x3[ i / 3 ][ i % 3 ] == i + 1 );
- }
- //]
- }
- {
- //[seq_var_args
- typedef double elem_; typedef std::list<elem_> r_; typedef std::vector<r_> ragged_array_;
- r_ a; /* Calls `a.push_back( t )` for [^t = 0.71, 0.63, 0.85] */ as2::put( a )( 0.71 )( 0.63 )( 0.85 );
- r_ b; as2::put( b )( 0.61 )( 0.69 )( 0.92 )( 0.55 );
- ragged_array_ ragged_array;
- as2::put( ragged_array )
- /*<<Calls `ragged_array.push_back( r_( boost::begin( a ), boost::end( a ) ) )`>>*/( boost::begin( a ), boost::end( a ) )
- /*<<Calls `ragged_array.push_back( r_( b ) )`>>*/( b )
- /*<<Calls `ragged_array.push_back( r_( 1, -99.99 ) )`>>*/( 1, -99.99 )
- /*<<Calls `ragged_array.push_back( r_( ) )`>>*/( );
-
- BOOST_ASSIGN_V2_CHECK( ragged_array[0].size() == a.size() );
- BOOST_ASSIGN_V2_CHECK( ragged_array[1].size() == b.size() );
- BOOST_ASSIGN_V2_CHECK( ragged_array[2].size() == 1 );
- BOOST_ASSIGN_V2_CHECK( ragged_array[3].size() == 0 );
- //]
- elem_ eps = boost::numeric::bounds<elem_>::smallest();
- BOOST_ASSIGN_V2_CHECK( abs( ragged_array[0].front() - a.front() ) < eps );
- BOOST_ASSIGN_V2_CHECK( abs( ragged_array[0].back() - a.back() ) < eps );
- BOOST_ASSIGN_V2_CHECK( abs( ragged_array[1].front() - b.front() ) < eps );
- BOOST_ASSIGN_V2_CHECK( abs( ragged_array[1].back() - b.back() ) < eps );
- BOOST_ASSIGN_V2_CHECK( abs( ragged_array[2].front() + 99.9 ) < eps );
- BOOST_ASSIGN_V2_CHECK( abs( ragged_array[2].back() + 99.9 ) < eps );
- }
- {
- //[adapter
- std::queue<int> fifo; /*<<Calls `fifo.push( t )` for [^t = 72, 31, 48]>>*/as2::put( fifo )( 72 )( 31 )( 48 );
-
- BOOST_ASSIGN_V2_CHECK( fifo.front() == 72 );
- BOOST_ASSIGN_V2_CHECK( fifo.back() == 48 );
- //]
- }
- {
- using namespace boost;
- //[seq_ref_tuple
- typedef const char state_ [3]; state_ ct = "CT", nj = "NJ", ny = "NY";
- typedef int code_; typedef boost::tuple<state_/*<<Notice the reference>>*/&, code_> area_code_;
- std::deque< area_code_ > tri_state; /*Calls `tri_state.push_back( area_code_( s, c ) )` for [^( s, c ) = ( nj, 201 )( ct, 203 )( ny, 212 )( ny, 315 )( ny, 347 )( nj, 551 )]*/as2::put( tri_state )( nj, 201 )( ct, 203 )( ny, 212 )( ny, 315 )( ny, 347 )( nj, 551 );
-
- BOOST_ASSIGN_V2_CHECK( get<0>( tri_state.front() ) == nj );
- BOOST_ASSIGN_V2_CHECK( get<0>( tri_state.back() ) == nj );
- BOOST_ASSIGN_V2_CHECK( get<1>( tri_state.front() ) == 201 );
- BOOST_ASSIGN_V2_CHECK( get<1>( tri_state.back() ) == 551 );
- //]
- }
- }// test()
-
-}// xxx_functor
-}// xxx_container
-}// xxx_put
-}// xxx_test_assign
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/functor.h 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,22 +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) //
-//////////////////////////////////////////////////////////////////////////////
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_container{
-namespace xxx_functor{
-
- void test();
-
-}// xxx_functor
-}// xxx_container
-}// xxx_put
-}// xxx_test_assign
-
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/range.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,55 +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) //
-////////////////////////////////////////////////////////////////////////////
-#include <stack>
-#include <vector>
-#include <deque>
-#include <boost/array.hpp>
-#include <boost/tuple/tuple.hpp>
-#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/put/container/range.hpp>
-#include <libs/assign/v2/test/put/container/range.h>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_container{
-namespace xxx_range{
-
- void test()
- {
- namespace as2 = boost::assign::v2;
-
- //[range_assign
- typedef const char state_ [3]; state_ ct = "CT", nj = "NJ", ny = "NY", ca = "CA", /*ore = "OR",*/ wa = "WA";
- typedef int code_; typedef boost::tuple<state_/*<<Notice the reference>>*/&, code_> area_code_;
- std::deque< area_code_ > tri_state; as2::put( tri_state )( nj, 201 )( ct, 203 )( ny, 212 )( ny, 315 )( ny, 347 )( nj, 551 );
- std::deque< area_code_ > pacific ; as2::put( pacific )( wa, 206 )( ca, 209 )( ca, 213 )( wa, 253 );
-
- std::deque< area_code_ > states; as2::put_range( tri_state, states ); as2::put_range( pacific, states );
-
- using namespace boost;
- BOOST_ASSIGN_V2_CHECK( get<0>( states.front() ) == nj );
- BOOST_ASSIGN_V2_CHECK( get<0>( states[tri_state.size()-1] ) == nj );
- BOOST_ASSIGN_V2_CHECK( get<0>( states.front() ) == nj );
- BOOST_ASSIGN_V2_CHECK( get<0>( states[tri_state.size()] ) == wa );
- BOOST_ASSIGN_V2_CHECK( get<0>( states[tri_state.size() + pacific.size() - 1 ] ) == wa );
- //]
- {
- //[range_constr
- std::vector<int> r( 3 ); r[0] = 72; r[1] = 31; r[2] = 48;
-
- BOOST_ASSIGN_V2_CHECK( as2::put_range< std:: stack<int> >( r ).top() == 48 );
- //]
- }
- }
-
-}// xxx_range
-}// xxx_container
-}// xxx_put
-}// test_assign_v2
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/container/range.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/container/range.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/container/range.h 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,25 +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 LIBS_ASSIGN_V2_TEST_PUT_CONTAINER_RANGE_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_PUT_CONTAINER_RANGE_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_container{
-namespace xxx_range{
-
- void test();
-
-}// xxx_range
-}// xxx_container
-}// xxx_put
-}// xxx_test_assign
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -7,8 +7,13 @@
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 ////////////////////////////////////////////////////////////////////////////
-#include <libs/assign/v2/test/put/deque/csv.h>
-#include <libs/assign/v2/test/put/deque/functor.h>
+#include <string>
+#include <boost/array.hpp>
+#include <boost/tuple/tuple.hpp>
+#include <boost/assign/v2/put/deque/csv_deque.hpp>
+#include <boost/assign/v2/put/deque/deque.hpp>
+#include <boost/assign/v2/detail/config/check.hpp>
+
 #include <libs/assign/v2/test/put/deque.h>
 
 namespace test_assign_v2{
@@ -17,8 +22,57 @@
 
     void test()
     {
- xxx_csv::test();
- xxx_functor::test();
+ namespace as2 = boost::assign::v2;
+ {
+ //[deque_ref_tuple
+ typedef const char state_ [3]; state_ ct = "CT", nj = "NJ", ny = "NY";
+ typedef int code_; typedef boost::tuple<state_/*<<Notice the reference>>*/&, code_> area_code_;
+ typedef as2::result_of::deque<area_code_>::type states_;
+ states_ tri_state = as2::deque<area_code_>( nj, 201 )( ct, 203 )( ny, 212 );
+
+ using namespace boost;
+ BOOST_ASSIGN_V2_CHECK( get<0>( tri_state.front() ) == nj );
+ BOOST_ASSIGN_V2_CHECK( get<1>( tri_state.front() ) == 201 );
+
+ states_ tri_state2 = tri_state( ny, 315 )( ny, 347 )( nj, 551 );
+
+ BOOST_ASSIGN_V2_CHECK( get<0>( tri_state2.back() ) == nj );
+ BOOST_ASSIGN_V2_CHECK( get<1>( tri_state2.back() ) == 551 );
+ //]
+ }
+ {
+ //[deque_str
+ typedef std::string str_;
+ BOOST_ASSIGN_V2_CHECK(
+ str_( as2::deque<const char*>( "x" )( "y" )( "z" )[1] ) == "y"
+ );
+ //]
+ }
+ {
+ //[csv_deque
+ typedef as2::result_of::csv_deque<int>::type C;
+ {
+ C cont = as2::csv_deque( 72, 31, 48 );
+
+ BOOST_ASSIGN_V2_CHECK( cont.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( cont.back() == 48 );
+ }
+ {
+ C cont = as2::csv_deque( 72, 31 )/* This oddity is possible due to `result_of::csv_deque<int>::type == result_of::deque<int>::type`*/( 48 );
+
+ BOOST_ASSIGN_V2_CHECK( cont.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( cont.back() == 48 );
+ }
+ //]
+ }
+ {
+ //[csv_deque_str
+ typedef std::string str_;
+ BOOST_ASSIGN_V2_CHECK(
+ str_( as2::csv_deque( "x", "y", "z" )[1] ) == "y"
+ );
+ //]
+ }
     }
 
 }// xxx_deque

Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,54 +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) //
-////////////////////////////////////////////////////////////////////////////
-#include <string>
-#include <boost/assign/v2/put/deque/csv.hpp>
-#include <boost/assign/v2/detail/config/check.hpp>
-
-#include <libs/assign/v2/test/put/deque/csv.h>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_deque{
-namespace xxx_csv{
-
- void test()
- {
- namespace as2 = boost::assign::v2;
- {
- //[csv_deque
- typedef as2::result_of::csv_deque<int>::type C;
- {
- C cont = as2::csv_deque( 72, 31, 48 );
-
- BOOST_ASSIGN_V2_CHECK( cont.front() == 72 );
- BOOST_ASSIGN_V2_CHECK( cont.back() == 48 );
- }
- {
- C cont = as2::csv_deque( 72, 31 )/* This oddity is possible due to `result_of::csv_deque<int>::type == result_of::deque<int>::type`*/( 48 );
-
- BOOST_ASSIGN_V2_CHECK( cont.front() == 72 );
- BOOST_ASSIGN_V2_CHECK( cont.back() == 48 );
- }
- //]
- }
- {
- //[csv_deque_str
- typedef std::string str_;
- BOOST_ASSIGN_V2_CHECK(
- str_( as2::csv_deque( "x", "y", "z" )[1] ) == "y"
- );
- //]
- }
- }
-
-}// xxx_csv
-}// xxx_deque
-}// xxx_put
-}// test_assign_v2
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/csv.h 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,25 +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 LIBS_ASSIGN_V2_TEST_PUT_DEQUE_CSV_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_PUT_DEQUE_CSV_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_deque{
-namespace xxx_csv{
-
- void test();
-
-}// xxx_csv
-}// xxx_deque
-}// xxx_put
-}// test_assign_v2
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,57 +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) //
-////////////////////////////////////////////////////////////////////////////
-#include <string>
-#include <boost/array.hpp>
-#include <boost/tuple/tuple.hpp>
-#include <boost/assign/v2/put/deque/csv.hpp>
-#include <boost/assign/v2/put/deque/functor.hpp>
-#include <boost/assign/v2/detail/config/check.hpp>
-
-#include <libs/assign/v2/test/put/deque/functor.h>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_deque{
-namespace xxx_functor{
-
- void test()
- {
- namespace as2 = boost::assign::v2;
- {
- //[deque_ref_tuple
- typedef const char state_ [3]; state_ ct = "CT", nj = "NJ", ny = "NY";
- typedef int code_; typedef boost::tuple<state_/*<<Notice the reference>>*/&, code_> area_code_;
- typedef as2::result_of::deque<area_code_>::type states_;
- states_ tri_state = as2::deque<area_code_>( nj, 201 )( ct, 203 )( ny, 212 );
-
- using namespace boost;
- BOOST_ASSIGN_V2_CHECK( get<0>( tri_state.front() ) == nj );
- BOOST_ASSIGN_V2_CHECK( get<1>( tri_state.front() ) == 201 );
-
- states_ tri_state2 = tri_state( ny, 315 )( ny, 347 )( nj, 551 );
-
- BOOST_ASSIGN_V2_CHECK( get<0>( tri_state2.back() ) == nj );
- BOOST_ASSIGN_V2_CHECK( get<1>( tri_state2.back() ) == 551 );
- //]
- }
- {
- //[deque_str
- typedef std::string str_;
- BOOST_ASSIGN_V2_CHECK(
- str_( as2::deque<const char*>( "x" )( "y" )( "z" )[1] ) == "y"
- );
- //]
- }
- }
-
-}// xxx_functor
-}// xxx_deque
-}// xxx_put
-}// test_assign_v2
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque/functor.h 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -1,25 +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 LIBS_ASSIGN_V2_TEST_PUT_DEQUE_FUNCTOR_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_PUT_DEQUE_FUNCTOR_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_deque{
-namespace xxx_functor{
-
- void test();
-
-}// xxx_functor
-}// xxx_deque
-}// xxx_put
-}// test_assign_v2
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -16,7 +16,7 @@
 
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/modifier/iterate.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
 #include <boost/assign/v2/put/deque.hpp>
 #include <libs/assign/v2/test/put/modifier/iterate.h>
 

Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -21,7 +21,7 @@
 #include <boost/assign/v2/detail/functor/identity.hpp>
 #include <boost/assign/v2/put/fun/identity.hpp>
 #include <boost/assign/v2/put/modifier/lookup.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
 #include <boost/assign/v2/put/deque.hpp>
 #include <libs/assign/v2/test/put/modifier/lookup.h>
 

Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -11,7 +11,7 @@
 #include <boost/typeof/typeof.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/modifier/repeat.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
 #include <boost/assign/v2/put/deque.hpp>
 #include <libs/assign/v2/test/put/modifier/repeat.h>
 

Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -12,14 +12,15 @@
 #include <queue>
 #include <set>
 #include <string>
-#include <boost/mpl/assert.hpp>
-#include <boost/typeof/typeof.hpp>
-#include <boost/lambda/lambda.hpp>
-#include <boost/type_traits/is_same.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/modifier/standard.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
 #include <boost/assign/v2/put/deque.hpp>
+#include <boost/lambda/lambda.hpp>
+#include <boost/mpl/apply.hpp>
+#include <boost/mpl/assert.hpp>
+#include <boost/type_traits/is_same.hpp>
+#include <boost/typeof/typeof.hpp>
 #include <libs/assign/v2/test/put/modifier/standard.h>
 
 namespace test_assign_v2{

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -18,7 +18,8 @@
 namespace xxx_put{
 namespace xxx_pipe{
 
- void test(){
+ void test()
+ {
         xxx_args_list::test();
         xxx_modifier::test();
         xxx_fun::test();

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -13,7 +13,7 @@
 #include <boost/assign/v2/detail/check/equal_val.hpp>
 #include <boost/assign/v2/detail/check/equal_ref.hpp>
 #include <boost/assign/v2/put/modifier/repeat.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
 #include <boost/assign/v2/utility/csv.hpp>
 #include <libs/assign/v2/test/put/pipe/args_list.h>
 
@@ -29,7 +29,10 @@
         {
             typedef as2::put_pipe_aux::args_list<> args_list_;
             int x = -1;
- BOOST_AUTO( args_list, ( ( args_list_() % ( as2::_repeat = 3 ) )( x ) ) );
+ BOOST_AUTO(
+ args_list,
+ ( ( args_list_() % ( as2::_repeat = 3 ) )( x ) )
+ );
             int n = as2::ref::at<0>( args_list.par_list_cont() ).arg();
             BOOST_ASSIGN_V2_CHECK( n == 3 );
         }

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -11,8 +11,8 @@
 #include <boost/spirit/home/phoenix.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/modulo/fun.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
-#include <boost/assign/v2/put/pipe/csv.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
+#include <boost/assign/v2/put/pipe/csv_put.hpp>
 #include <libs/assign/v2/test/put/pipe/fun.h>
 
 namespace test_assign_v2{

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -12,7 +12,7 @@
 
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/modifier/iterate.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
 #include <libs/assign/v2/test/put/pipe/modifier/iterate.h>
 
 namespace test_assign_v2{

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -17,7 +17,7 @@
 #include <boost/assign/v2/detail/functor/identity.hpp>
 #include <boost/assign/v2/put/fun/identity.hpp>
 #include <boost/assign/v2/put/modifier/lookup.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
 #include <libs/assign/v2/test/put/pipe/modifier/lookup.h>
 
 namespace test_assign_v2{

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -11,7 +11,7 @@
 #include <boost/typeof/typeof.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/modifier/repeat.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
 #include <libs/assign/v2/test/put/pipe/modifier/repeat.h>
 
 namespace test_assign_v2{

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -17,7 +17,7 @@
 #include <boost/range/iterator.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/modifier/standard.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
 #include <boost/assign/v2/put/deque.hpp>
 #include <libs/assign/v2/test/put/pipe/modifier/standard.h>
 

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/operator.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/operator.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/operator.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -16,8 +16,8 @@
 #include <boost/tuple/tuple.hpp>
 #include <boost/numeric/conversion/bounds.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
-#include <boost/assign/v2/put/pipe/csv.hpp>
+#include <boost/assign/v2/put/pipe/put.hpp>
+#include <boost/assign/v2/put/pipe/csv_put.hpp>
 
 #include <libs/assign/v2/test/put/pipe/operator.h>
 

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/range.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -14,6 +14,7 @@
 #include <boost/tuple/tuple.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/put/pipe/range.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
 #include <libs/assign/v2/test/put/pipe/range.h>
 
 namespace test_assign_v2{

Modified: sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -16,7 +16,7 @@
 #include <boost/ptr_container/ptr_set.hpp>
 #include <boost/ptr_container/ptr_vector.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
 */
 #include <libs/assign/v2/test/put/ptr.h>
 

Modified: sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/convert_traits.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -21,7 +21,7 @@
         {
             ns::same_value_type::do_check<int>();
         }
-// TODO, in the future
+// TODO, possible extension
 /*
         {
             namespace dv = ns::distinct_values;

Modified: sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/list.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -8,15 +8,14 @@
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
 #include <string>
-#include <boost/mpl/assert.hpp>
-#include <boost/mpl/int.hpp>
-#include <boost/mpl/apply.hpp>
-#include <boost/mpl/vector/vector0.hpp>
-#include <boost/mpl/vector/vector10.hpp>
 #include <boost/array.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/ref/wrapper/copy.hpp>
 #include <boost/assign/v2/ref/list.hpp>
+#include <boost/mpl/apply.hpp>
+#include <boost/mpl/assert.hpp>
+#include <boost/mpl/int.hpp>
+#include <boost/mpl/vector.hpp>
 #include <boost/type_traits/add_reference.hpp>
 #include <libs/assign/v2/test/ref/list.h>
 
@@ -36,7 +35,7 @@
             typedef boost::add_reference<t0_>::type r0_;
 
 
-/* // TODO see head_holder
+/* // TODO possible extension
 #ifndef BOOST_NO_RVALUE_REFERENCES
             typedef int r1_;
 #else*/

Modified: sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp 2011-03-09 15:32:57 EST (Wed, 09 Mar 2011)
@@ -13,7 +13,7 @@
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/utility/csv.hpp>
 #include <boost/assign/v2/put/deque.hpp>
-#include <boost/assign/v2/put/container/functor.hpp>
+#include <boost/assign/v2/put/container/put.hpp>
 #include <boost/assign/v2/put/modifier/push_front.hpp>
 #include <libs/assign/v2/test/utility/csv.h>
 


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