Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67942 - in sandbox/statistics/support/libs/assign/v2: example example/put src test test/put test/ref test/type_traits test/unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-01-10 23:30:33


Author: e_r
Date: 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
New Revision: 67942
URL: http://svn.boost.org/trac/boost/changeset/67942

Log:
upd libs/assign/v2
Text files modified:
   sandbox/statistics/support/libs/assign/v2/example/chain.cpp | 57 -----------------
   sandbox/statistics/support/libs/assign/v2/example/chain.h | 23 ------
   sandbox/statistics/support/libs/assign/v2/example/put.cpp | 1
   sandbox/statistics/support/libs/assign/v2/example/put/convert.cpp | 45 -------------
   sandbox/statistics/support/libs/assign/v2/example/put/convert.h | 25 -------
   sandbox/statistics/support/libs/assign/v2/example/put/range.cpp | 23 ++++--
   sandbox/statistics/support/libs/assign/v2/src/main.cpp | 15 ++--
   sandbox/statistics/support/libs/assign/v2/test/chain.cpp | 30 ---------
   sandbox/statistics/support/libs/assign/v2/test/chain.h | 22 ------
   sandbox/statistics/support/libs/assign/v2/test/detail.cpp | 128 +--------------------------------------
   sandbox/statistics/support/libs/assign/v2/test/put.cpp | 2
   sandbox/statistics/support/libs/assign/v2/test/put/convert.cpp | 79 ------------------------
   sandbox/statistics/support/libs/assign/v2/test/put/convert.h | 24 -------
   sandbox/statistics/support/libs/assign/v2/test/put/deque.cpp | 48 ++------------
   sandbox/statistics/support/libs/assign/v2/test/put/pipe.cpp | 2
   sandbox/statistics/support/libs/assign/v2/test/ref/array.cpp | 56 ----------------
   sandbox/statistics/support/libs/assign/v2/test/type_traits.cpp | 27 --------
   sandbox/statistics/support/libs/assign/v2/test/type_traits.h | 22 ------
   sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.cpp | 46 --------------
   sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.h | 25 -------
   sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.cpp | 48 --------------
   sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.h | 24 -------
   sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.cpp | 39 -----------
   sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.h | 24 -------
   sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2 | 2
   sandbox/statistics/support/libs/assign/v2/test/unit_testing/chain.cpp | 29 --------
   sandbox/statistics/support/libs/assign/v2/test/unit_testing/detail.cpp | 9 ++
   sandbox/statistics/support/libs/assign/v2/test/unit_testing/put.cpp | 4
   sandbox/statistics/support/libs/assign/v2/test/unit_testing/type_traits.cpp | 37 -----------
   29 files changed, 65 insertions(+), 851 deletions(-)

Modified: sandbox/statistics/support/libs/assign/v2/example/chain.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/chain.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/chain.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,56 +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 <vector>
-#include <list>
-#include <boost/array.hpp>
-#include <boost/assign/v2/chain.hpp>
-#include <boost/assign/v2/put/deque.hpp>
-#include <libs/assign/v2/example/include.h>
-#include <libs/assign/v2/example/chain.h>
-
-namespace example_assign_v2{
-namespace xxx_chain{
-
- void run(std::ostream& os)
- {
- os << "* xxx_chain" << std::endl;
- {
- os << "chain_read ";
- //[chain_r
- boost::array<int, 2> ar; ar[0] = 0; ar[1] = 1;
- std::list<int> list( 1, 2 );
- std::vector<int> vec( 2 ); vec[0] = 3; vec[1] = 4;
- boost::for_each(
- ar | as2::_chain( list ) | as2::_chain( vec ),
- os << bl::_1 << ' '
- ); // outputs 0, 1, 2, 3, 4
- //]
- }
- {
- //[chain_w
- int const x = -1; int y; boost::array<int, 2> ar;
- boost::copy(
- std::vector<int>(3, x),
- boost::begin(
- ar /* lvalue */ | as2::_chain(
- as2::ref::csv_array( y /* lvalue */ )
- ) /* rvalue */
- )
- );
- assert( ar[0] == x );
- assert( ar[1] == x );
- assert( y == x );
- //]
- }
- os << std::endl;
- }
-
-}// xxx_chain
-}// example_assign_v2
+// TODO remove file
\ No newline at end of file

Modified: sandbox/statistics/support/libs/assign/v2/example/chain.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/chain.h (original)
+++ sandbox/statistics/support/libs/assign/v2/example/chain.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 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) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_V2_EXAMPLE_CHAIN_ER_2010_H
-#define BOOST_ASSIGN_V2_EXAMPLE_CHAIN_ER_2010_H
-#include <ostream>
-
-namespace example_assign_v2{
-namespace xxx_chain{
-
- void run(std::ostream& os);
-
-}// xxx_chain
-}// example_assign_v2
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/statistics/support/libs/assign/v2/example/put.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/put.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/put.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -18,7 +18,6 @@
 
     void run(std::ostream& os){
             xxx_deque::run( os );
- xxx_convert::run( os );
             xxx_range::run( os );
             xxx_pipe::run( os );
     }

Modified: sandbox/statistics/support/libs/assign/v2/example/put/convert.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/put/convert.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/put/convert.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,44 +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 <vector>
-#include <deque>
-#include <queue>
-#include <stack>
-#include <boost/array.hpp>
-#include <boost/assign/v2/put/pipe/convert.hpp>
-#include <libs/assign/v2/example/include.h>
-#include <libs/assign/v2/example/foo.h>
-#include <libs/assign/v2/example/put/convert.h>
-
-namespace example_assign_v2{
-namespace xxx_put{
-namespace xxx_convert{
-
- void run(std::ostream& os)
- {
- {
- {
- //[convert_stack
- boost::array<int, 3> from;
- typedef std::stack<int> to_; // LIFO
- from[0] = -1; from[1] = 0; from[2] = 1;
- BOOST_ASSERT(
- (
- from | as2::put_convert<to_>()
- ).top() == 1
- );
- //]
- }
- }
- }
-
-}// xxx_convert
-}// xxx_put
-}// example_assign_v2
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/example/put/convert.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/put/convert.h (original)
+++ sandbox/statistics/support/libs/assign/v2/example/put/convert.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,24 +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_EXAMPLE_CONVERSION_ER_2010_H
-#define BOOST_ASSIGN_V2_EXAMPLE_CONVERSION_ER_2010_H
-#include <ostream>
-
-namespace example_assign_v2{
-namespace xxx_put{
-namespace xxx_convert{
-
- void run(std::ostream& os);
-
-}// xxx_convert
-}// xxx_put
-}// example_assign_v2
-
-#endif
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/example/put/range.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/put/range.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/put/range.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -9,6 +9,7 @@
 //////////////////////////////////////////////////////////////////////////////
 #include <queue>
 #include <vector>
+#include <boost/array.hpp>
 #include <boost/assign/v2/put/pipe/range.hpp>
 #include <libs/assign/v2/example/include.h>
 #include <libs/assign/v2/example/foo.h>
@@ -22,15 +23,19 @@
     {
         {
             //[put_range_queue
- std::vector<int> from( 3 );
- from[0] = -1; from[1] = 0; from[2] = 1;
- std::queue<int> to; // FIFO
- assert(
- (
- to | as2::_put_range( from )
- ).front() == -1
- );
- assert( to.back() == 1 );
+ std::vector<int> v( 3 ); v[0] = -1; v[1] = 0; v[2] = 1;
+ std::queue<int> fifo;
+ assert( ( fifo | as2::_put_range( v ) ).front() == -1 );
+ assert( fifo.back() == 1 );
+ //]
+ }
+ {
+ //[put_range_array
+ typedef boost::array<int, 2> cont_;
+ std::vector<int> v(2); v[0] = 1; v[1] = -99;
+ assert(
+ (boost::type<cont_>() | as2::_put_range( v ) )[1] == -99
+ );
             //]
         }
     }

Modified: sandbox/statistics/support/libs/assign/v2/src/main.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/src/main.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/src/main.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,32 +1,31 @@
 #include <iostream>
 #include <boost/assert.hpp>
-
-#include <libs/assign/v2/test/chain.h>
 #include <libs/assign/v2/test/detail.h>
-#include <libs/assign/v2/test/type_traits.h>
+#include <libs/assign/v2/test/misc.h>
 #include <libs/assign/v2/test/put.h>
 #include <libs/assign/v2/test/ref.h>
-#include <libs/assign/v2/example/chain.h>
 #include <libs/assign/v2/example/ref.h>
 #include <libs/assign/v2/example/put.h>
+#include <libs/assign/v2/example/misc.h>
+#include <boost/assign/v2/put/pipe/range.hpp>
 
 int main (int argc, char * const argv[])
 {
 
- // Warning : Do not put libs/assign/v2/test/unit_testing in this project
+ // Do not put libs/assign/v2/test/unit_testing in this project
+
         {
             using namespace test_assign_v2;
- xxx_type_traits::test();
                 xxx_detail::test();
- xxx_chain::test();
+ xxx_misc::test();
                 xxx_put::test();
                 xxx_ref::test();
     }
     {
                 using namespace example_assign_v2;
- xxx_chain::run(std::cout);
                 xxx_ref::run(std::cout);
                 xxx_put::run(std::cout);
+ xxx_misc::run(std::cout);
     }
     return 0;
 

Modified: sandbox/statistics/support/libs/assign/v2/test/chain.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/chain.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/chain.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,29 +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/assign/v2/chain/checking/twin_values.hpp>
-#include <boost/assign/v2/chain/checking/distinct_values.hpp>
-#include <libs/assign/v2/test/chain.h>
-
-namespace test_assign_v2{
-namespace xxx_chain{
-
- void test()
- {
- namespace as2 = boost::assign::v2;
- namespace ns = as2::checking::chain;
- ns::twin_values::do_check<int>();
- ns::distinct_values::do_check<short>();
- ns::distinct_values::do_check<int>();
- ns::distinct_values::do_check<float>();
- ns::distinct_values::do_check<double>();
- }
-
-}// xxx_chain
-}// test_assign_v2
+// TODO remove file
\ No newline at end of file

Modified: sandbox/statistics/support/libs/assign/v2/test/chain.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/chain.h (original)
+++ sandbox/statistics/support/libs/assign/v2/test/chain.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,21 +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_CHAIN_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_CHAIN_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_chain{
-
- void test();
-
-}// xxx_chain
-}// test_assign_v2
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/statistics/support/libs/assign/v2/test/detail.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/detail.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/detail.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -7,136 +7,16 @@
 // 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 <iostream>
-#include <boost/preprocessor/arithmetic/sub.hpp>
-#include <boost/preprocessor/arithmetic/dec.hpp>
-#include <boost/preprocessor/control/expr_if.hpp>
-#include <boost/preprocessor/control/if.hpp>
-#include <boost/preprocessor/repetition/enum_trailing.hpp>
-#include <boost/preprocessor/repetition/repeat.hpp>
-#include <boost/tuple/tuple.hpp>
-
-#include <boost/assign/v2/detail/config/tuple_limit_arity.hpp>
-#include <boost/assign/v2/detail/checking/check.hpp>
-#include <boost/assign/v2/detail/functor/constructor.hpp>
-
-#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-// do nothing
-#else
-#include <boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp>
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
+#include <libs/assign/v2/test/detail/functor.h>
+#include <libs/assign/v2/test/detail/traits.h>
 #include <libs/assign/v2/test/detail.h>
 
 namespace test_assign_v2{
 namespace xxx_detail{
 
     void test(){
- using namespace boost::assign::v2;
-
-#if BOOST_ASSIGN_V2_ENABLE_CPP0X
-#define BOOST_ASSIGN_V2_n BOOST_ASSIGN_V2_CPP03_TUPLE_LIMIT_ARITY
-// That's because we are constructing a boost::tuple<>.
-#else
-#define BOOST_ASSIGN_V2_n BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY
-
-#if BOOST_ASSIGN_V2_n > BOOST_ASSIGN_V2_CPP03_TUPLE_LIMIT_ARITY
-#error
-#endif
-
-#endif // BOOST_ASSIGN_V2_ENABLE_CPP0X
-
- {
- typedef int& x_ref_;
- typedef int const& y_ref_;
- typedef int z_;
-
-#define MACRO(Z, n, data) data
-
- typedef boost::tuple<
- BOOST_PP_EXPR_IF(
- BOOST_ASSIGN_V2_n,
- x_ref_
- )
- BOOST_PP_ENUM_TRAILING(
- BOOST_PP_IF(BOOST_PP_DEC(BOOST_ASSIGN_V2_n),1,0),
- MACRO,
- y_ref_
- )
- BOOST_PP_ENUM_TRAILING(
- BOOST_PP_SUB(BOOST_ASSIGN_V2_n,2),
- MACRO,
- z_
- )
- > t_;
-#undef MACRO
-
- typedef functor_aux::constructor<t_> f_;
- f_ f;
-
- int x = -1;
- int const y = 0;
-
-#define MACRO(z, n, data) data
-
- t_ t = f(
- BOOST_PP_EXPR_IF(
- BOOST_ASSIGN_V2_n,
- x
- )
- BOOST_PP_ENUM_TRAILING(
- BOOST_PP_IF(BOOST_PP_DEC(BOOST_ASSIGN_V2_n),1,0),
- MACRO,
- y
- )
- BOOST_PP_ENUM_TRAILING(
- BOOST_PP_SUB(BOOST_ASSIGN_V2_n, 2),
- MACRO,
- 1
- )
- );
-#undef MACRO
- BOOST_PP_EXPR_IF(
- BOOST_ASSIGN_V2_n,
- BOOST_ASSIGN_V2_CHECK(
- &boost::get<0>( t ) == &x
- );
- )
- BOOST_PP_EXPR_IF(
- BOOST_PP_DEC(BOOST_ASSIGN_V2_n),
- BOOST_ASSIGN_V2_CHECK(
- &boost::get<1>( t ) == &y
- );
- )
-
-#define MACRO(z, i, data ) \
- BOOST_ASSIGN_V2_CHECK( \
- boost::get< BOOST_PP_ADD(i,2) >( t ) == 1 \
- ); \
-/**/
-
- BOOST_PP_REPEAT(
- BOOST_PP_SUB(BOOST_ASSIGN_V2_n,2),
- MACRO,
- ~
- )
-#undef MACRO
-
- typedef std::string str_;
- const str_ cpp
- = BOOST_ASSIGN_V2_ENABLE_CPP0X ? "C++0x" : "C++03";
- const str_ str = str_("test_assign_v2::xxx_detail::xxx_functor")
- + "{ " + cpp + ", arity = ";
-
- std::cout
- << str
- << BOOST_ASSIGN_V2_n
- << " }"
- << std::endl;
-
-#undef BOOST_ASSIGN_V2_n
- }
+ xxx_functor::test();
+ xxx_traits::test();
     }
     
 }// xxx_detail

Modified: sandbox/statistics/support/libs/assign/v2/test/put.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/put.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/put.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -13,7 +13,6 @@
 #include <libs/assign/v2/test/put/stl.h>
 #include <libs/assign/v2/test/put/tuple_refs.h>
 #include <libs/assign/v2/test/put/pipe.h>
-#include <libs/assign/v2/test/put/convert.h>
 #include <libs/assign/v2/test/put/deque.h>
 #include <libs/assign/v2/test/put.h>
 
@@ -29,7 +28,6 @@
             xxx_tuple_refs::test();
             xxx_deque::test();
             xxx_pipe::test();
- xxx_convert::test();
 
     }
     

Modified: sandbox/statistics/support/libs/assign/v2/test/put/convert.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/put/convert.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/put/convert.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,78 +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 <deque>
-#include <list>
-#include <map>
-#include <queue>
-#include <set>
-#include <stack>
-#include <vector>
-#include <boost/array.hpp>
-
-#include <boost/assign/v2/detail/checking/container.hpp>
-#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/put/pipe/convert.hpp>
-
-#include <libs/assign/v2/test/put/convert.h>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_convert{
-
- void test()
- {
- typedef std::vector<int> from_;
- from_ from;
- namespace as2 = boost::assign::v2;
- namespace chk_cont = as2::checking::container;
- {
- using namespace as2::checking::constants;
- from.push_back( a );
- from.push_back( b );
- from.push_back( c );
- from.push_back( d );
- from.push_back( e );
- from.push_back( f );
- from.push_back( g );
- from.push_back( h );
- }
- {
- typedef boost::array<int,8> to_;
- chk_cont::do_check( from | as2::put_convert<to_>() );
- }
- {
- typedef std::deque<int> to_;
- chk_cont::do_check( from | as2::put_convert<to_>() );
- }
- {
- typedef std::list<int> to_;
- chk_cont::do_check( from | as2::put_convert<to_>() );
- }
- {
- typedef std::queue<int> to_;
- chk_cont::do_check( from | as2::put_convert<to_>() );
- }
- {
- typedef std::set<int> to_;
- chk_cont::do_check( from | as2::put_convert<to_>() );
- }
- {
- typedef std::stack<int> to_;
- chk_cont::do_check( from | as2::put_convert<to_>() );
- }
- {
- typedef std::vector<int> to_;
- chk_cont::do_check( from | as2::put_convert<to_>() );
- }
- }
-
-}// xxx_convert
-}// xxx_put
-}// test_assign_v2
+// TODO remove file
\ No newline at end of file

Modified: sandbox/statistics/support/libs/assign/v2/test/put/convert.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/put/convert.h (original)
+++ sandbox/statistics/support/libs/assign/v2/test/put/convert.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,23 +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_CONVERT_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_PUT_CONVERT_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_convert{
-
- void test();
-
-}// xxx_convert
-}// xxx_put
-}// test_assign_v2
-
-#endif
+// TODO remove file
\ No newline at end of file

Modified: sandbox/statistics/support/libs/assign/v2/test/put/deque.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/put/deque.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/put/deque.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -20,7 +20,7 @@
 #include <boost/assign/v2/detail/keyword.hpp>
 #include <boost/assign/v2/detail/checking/container.hpp>
 #include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/checking/relational_op.hpp>
+/*#include <boost/assign/v2/detail/checking/relational_op.hpp>*/
 
 #include <boost/assign/v2/put/deque.hpp>
 
@@ -40,6 +40,12 @@
             do_check( csv_deque( a, b, c, d, e, f, g, h ) );
         }
         {
+ // Functor
+ using namespace checking::constants;
+ using namespace checking::container;
+ do_check( deque<int>( a )( b )( c )( d )( e )( f )( g )( h ) );
+ }
+ {
                 // Operator%
             BOOST_AUTO(tmp, ( deque<int>( _nil ) % ( _repeat = 3 ) ) );
             tmp( 1 );
@@ -52,46 +58,6 @@
                 typedef std::string str_;
             BOOST_ASSIGN_V2_CHECK( str_( csv_deque("x")[0] ) == "x");
         }
- {
- // Conversion
- typedef result_of::deque<int>::type deque_;
- deque_ from;
- {
- using namespace checking::constants;
- from = csv_deque( a, b, c, d, e, f, g, h );
- }
- using namespace checking::container;
-#define MACRO do_check( from | put_convert<to_>() );
- {
- typedef boost::array<int,8> to_;
- MACRO
- }
- {
- typedef std::deque<int> to_;
- MACRO
- }
- {
- typedef std::list<int> to_;
- MACRO
- }
- {
- typedef std::queue<int> to_;
- MACRO
- }
- {
- typedef std::set<int> to_;
- MACRO
- }
- {
- typedef std::stack<int> to_;
- MACRO
- }
- {
- typedef std::vector<int> to_;
- MACRO
- }
-#undef MACRO
- }
 /*
         { // Relational
             using namespace checking::constants;

Modified: sandbox/statistics/support/libs/assign/v2/test/put/pipe.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/put/pipe.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/put/pipe.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -11,6 +11,7 @@
 #include <libs/assign/v2/test/put/pipe/forward_pars.h>
 #include <libs/assign/v2/test/put/pipe/functor.h>
 #include <libs/assign/v2/test/put/pipe/stl.h>
+#include <libs/assign/v2/test/put/pipe/range.h>
 #include <libs/assign/v2/test/put/pipe/ext.h>
 
 namespace test_assign_v2{
@@ -22,6 +23,7 @@
             xxx_forward_pars::test();
             xxx_functor::test();
             xxx_stl::test();
+ xxx_range::test();
             xxx_ext::test();
     }
     

Modified: sandbox/statistics/support/libs/assign/v2/test/ref/array.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/ref/array.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/ref/array.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -23,7 +23,7 @@
 #include <boost/assign/v2/detail/checking/constants.hpp>
 #include <boost/assign/v2/detail/checking/container.hpp>
 #include <boost/assign/v2/detail/checking/array.hpp>
-#include <boost/assign/v2/detail/checking/relational_op.hpp>
+/*#include <boost/assign/v2/detail/checking/relational_op.hpp>*/
 #include <boost/assign/v2/put/pipe/convert.hpp>
 #include <boost/assign/v2/ref/array/functor.hpp>
 #include <boost/assign/v2/ref/wrapper/copy.hpp>
@@ -70,62 +70,12 @@
                 )
             );
             {
- using namespace checking::container;
- do_check( ref::array<int const>
+ namespace ns = checking::container;
+ ns::do_check( ref::array<int const>
                             ( a1 )( b1 )( c1 )( d1 )( e1 )( f1 )( g1 )( h1 )
                 );
             }
                 }
-#define MACRO do_check( from | put_convert<to_>() );
- {
- // Conversion
- typedef ref::nth_result_of::array<
- 8,int const>::type array_;
-
- using namespace checking::constants;
- array_ from = ref::array
- ( a )( b )( c )( d )( e )( f )( g )( h );
- using namespace checking::container;
- {
- typedef boost::array<int,8> to_;
- MACRO
- }
- {
- typedef std::deque<int> to_;
- MACRO
- }
- {
- typedef std::list<int> to_;
- MACRO
- }
- {
- typedef std::queue<int> to_;
- MACRO
- }
- {
- typedef std::set<int> to_;
- MACRO
- }
- {
- typedef std::stack<int> to_;
- MACRO
- }
- {
- typedef std::vector<int> to_;
- MACRO
- }
-#undef MACRO
- }
-/*
- { // Relational
- using namespace checking::constants;
- using namespace checking::relational_op;
- do_check(
- ref::array
- ( a )( b )( c )( d )( e )( f )( g )( h )
- );
- }
-*/
     }
 
 }// xxx_array

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 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) //
-//////////////////////////////////////////////////////////////////////////////
-#include <libs/assign/v2/test/type_traits/has_push.h>
-#include <libs/assign/v2/test/type_traits/has_static_size.h>
-#include <libs/assign/v2/test/type_traits/has_value_type.h>
-#include <libs/assign/v2/test/type_traits.h>
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-
- void test(){
- xxx_has_push::test();
- xxx_has_static_size::test();
- xxx_has_value_type::test();
- }
-
-}// xxx_type_traits
-}// xxx_test_assign
-
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits.h (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,21 +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_TYPE_TRAITS_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_TYPE_TRAITS_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-
- void test();
-
-}// xxx_type_traits
-}// xxx_test_assign
-
-#endif
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,45 +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 <vector>
-#include <stack>
-#include <queue>
-#include <boost/static_assert.hpp>
-#include <boost/assign/v2/detail/type_traits/container/has_push.hpp>
-#include <libs/assign/v2/test/type_traits/has_push.h>
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-namespace xxx_has_push{
-
- void test()
- {
- namespace as2 = boost::assign::v2;
- namespace ns = as2::container_type_traits;
- {
- typedef std::queue<int> v_;
- typedef ns::has_push<v_> has_push_;
- BOOST_STATIC_ASSERT( has_push_::value );
- }
- {
- typedef std::stack<int> v_;
- typedef ns::has_push<v_> has_push_;
- BOOST_STATIC_ASSERT( has_push_::value );
- }
- {
- typedef std::vector<int> v_;
- typedef ns::has_push<v_> has_push_;
- BOOST_STATIC_ASSERT( !has_push_::value );
- }
- }
-
-}// xxx_has_push
-}// xxx_type_traits
-}// test_assign_v2
-
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.h (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits/has_push.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,24 +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_TYPE_TRAITS_HAS_PUSH_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_TYPE_TRAITS_HAS_PUSH_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-namespace xxx_has_push{
-
- void test();
-
-}// xxx_has_push
-}// xxx_type_traits
-}// test_assign_v2
-
-#endif
-
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,47 +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 <cstddef>
-#include <boost/array.hpp>
-#include <boost/static_assert.hpp>
-#include <boost/assign/v2/detail/type_traits/container/has_static_size.hpp>
-#include <boost/assign/v2/ref/array/functor.hpp>
-#include <libs/assign/v2/test/type_traits/has_static_size.h>
-
-struct my_cont{
- typedef std::size_t size_type;
-};
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-namespace xxx_has_static_size{
-
- void test()
- {
- namespace as2 = boost::assign::v2;
- {
- typedef boost::array<int,1> cont_;
- typedef as2::container_type_traits::has_static_size<cont_> pred_;
- BOOST_STATIC_ASSERT( pred_::value );
- }
- {
- typedef as2::ref::result_of::empty_array<int>::type cont_;
- typedef as2::container_type_traits::has_static_size<cont_> pred_;
- BOOST_STATIC_ASSERT( pred_::value );
- }
- {
- typedef my_cont cont_;
- typedef as2::container_type_traits::has_static_size<cont_> pred_;
- BOOST_STATIC_ASSERT( !pred_::value );
- }
- }
-
-}// xxx_has_static_size
-}// xxx_type_traits
-}// test_assign_v2
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.h (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits/has_static_size.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,23 +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_TYPE_TRAITS_HAS_STATIC_SIZE_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_TYPE_TRAITS_HAS_STATIC_SIZE_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-namespace xxx_has_static_size{
-
- void test();
-
-}// xxx_has_static_size
-}// xxx_type_traits
-}// test_assign
-
-#endif
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,38 +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 <vector>
-#include <cstddef>
-#include <boost/static_assert.hpp>
-#include <boost/assign/v2/detail/type_traits/has_value_type.hpp>
-#include <libs/assign/v2/test/type_traits/has_value_type.h>
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-namespace xxx_has_value_type{
-
- void test(){
-
- namespace as2 = boost::assign::v2;
- {
- typedef std::vector<int> inp_;
- typedef as2::type_traits::has_value_type<inp_>::type pred_;
- BOOST_STATIC_ASSERT(pred_::value);
- }
- {
- typedef int inp_;
- typedef as2::type_traits::has_value_type<inp_>::type pred_;
- BOOST_STATIC_ASSERT(!pred_::value);
- }
- }
-
-
-}// xxx_has_value_type
-}// xxx_type_traits
-}// test_assign
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.h (original)
+++ sandbox/statistics/support/libs/assign/v2/test/type_traits/has_value_type.h 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -1,23 +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_TYPE_TRAITS_HAS_VALUE_TYPE_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_TYPE_TRAITS_HAS_VALUE_TYPE_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_type_traits{
-namespace xxx_has_value_type{
-
- void test();
-
-}// xxx_has_value_type
-}// xxx_type_traits
-}// test_assign
-
-#endif
+// TODO remove file

Modified: sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2 (original)
+++ sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -18,9 +18,9 @@
 test-suite assign :
     [ assign-test type_traits ]
     [ assign-test detail ]
- [ assign-test chain ]
     [ assign-test put ]
     [ assign-test ref ]
+ [ assign-test misc ]
 ;
 
 

Modified: sandbox/statistics/support/libs/assign/v2/test/unit_testing/chain.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/unit_testing/chain.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/unit_testing/chain.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 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 LIBS_ASSIGN_V2_TEST_UNIT_TEST_CHAIN_ER_2010_CPP
-#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_CHAIN_ER_2010_CPP
-
-#include <iostream> // needed?
-
-#include <boost/test/test_tools.hpp>
-#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
-#include <libs/assign/v2/test/chain.cpp>
-#include <boost/test/unit_test.hpp>
-using boost::unit_test::test_suite;
-test_suite* init_unit_test_suite( int argc, char* argv[] )
-{
- test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
- using namespace test_assign_v2;
- test->add( BOOST_TEST_CASE( &xxx_chain::test ) );
- return test;
-}
-
-#endif
+//TODO remove file
\ No newline at end of file

Modified: sandbox/statistics/support/libs/assign/v2/test/unit_testing/detail.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/unit_testing/detail.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/unit_testing/detail.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -14,7 +14,8 @@
 
 #include <boost/test/test_tools.hpp>
 #define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
-#include <libs/assign/v2/test/detail.cpp>
+#include <libs/assign/v2/test/detail/traits.cpp>
+#include <libs/assign/v2/test/detail/functor.cpp>
 
 #include <boost/test/unit_test.hpp>
 using boost::unit_test::test_suite;
@@ -23,7 +24,11 @@
     test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
     using namespace test_assign_v2;
     {
- test->add( BOOST_TEST_CASE( &xxx_detail::test ) );
+ using namespace xxx_detail;
+ test->add( BOOST_TEST_CASE( &xxx_traits::xxx_has_push::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_traits::xxx_has_value_type::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_traits::xxx_has_static_size::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_functor::test ) );
     }
     return test;
 }

Modified: sandbox/statistics/support/libs/assign/v2/test/unit_testing/put.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/unit_testing/put.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/unit_testing/put.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 2011)
@@ -18,7 +18,6 @@
 #include <libs/assign/v2/test/put/static.cpp>
 #include <libs/assign/v2/test/put/stl.cpp>
 #include <libs/assign/v2/test/put/tuple_refs.cpp>
-#include <libs/assign/v2/test/put/convert.cpp>
 #include <libs/assign/v2/test/put/deque.cpp>
 #include <libs/assign/v2/test/put/modulo.cpp>
 #include <libs/assign/v2/test/put/ptr.cpp>
@@ -28,6 +27,7 @@
 #include <libs/assign/v2/test/put/pipe/csv.cpp>
 #include <libs/assign/v2/test/put/pipe/ext.cpp>
 #include <libs/assign/v2/test/put/pipe/stl.cpp>
+#include <libs/assign/v2/test/put/pipe/range.cpp>
 #include <boost/test/unit_test.hpp>
 using boost::unit_test::test_suite;
 test_suite* init_unit_test_suite( int argc, char* argv[] )
@@ -39,7 +39,6 @@
                 test->add( BOOST_TEST_CASE( &ns::xxx_static::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_stl::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_tuple_refs::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_convert::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_deque::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_modulo::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_ptr::test ) );
@@ -49,6 +48,7 @@
                 test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_csv::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_ext::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_stl::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_range::test ) );
     }
     return test;
 }

Modified: sandbox/statistics/support/libs/assign/v2/test/unit_testing/type_traits.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/unit_testing/type_traits.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/unit_testing/type_traits.cpp 2011-01-10 23:30:29 EST (Mon, 10 Jan 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 LIBS_ASSIGN_V2_TEST_UNIT_TEST_TYPE_TRAITS_ER_2010_CPP
-#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_TYPE_TRAITS_ER_2010_CPP
-
-#include <iostream> // needed?
-
-#include <boost/test/test_tools.hpp>
-#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
-#include <libs/assign/v2/test/type_traits/has_push.cpp>
-#include <libs/assign/v2/test/type_traits/has_value_type.cpp>
-#include <libs/assign/v2/test/type_traits/has_static_size.cpp>
-
-#include <boost/test/unit_test.hpp>
-using boost::unit_test::test_suite;
-test_suite* init_unit_test_suite( int argc, char* argv[] )
-{
- test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
- using namespace test_assign_v2;
- {
- namespace ns = xxx_type_traits;
- test->add( BOOST_TEST_CASE( &ns::xxx_has_push::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_has_value_type::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_has_static_size::test ) );
- }
- return test;
-}
-
-#endif
+// TODO remove file
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk