$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r69566 - sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor
From: erwann.rogard_at_[hidden]
Date: 2011-03-04 16:08:01
Author: e_r
Date: 2011-03-04 16:07:59 EST (Fri, 04 Mar 2011)
New Revision: 69566
URL: http://svn.boost.org/trac/boost/changeset/69566
Log:
upd assign_v2
Text files modified: 
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp |   139 --------------------------------------- 
   1 files changed, 1 insertions(+), 138 deletions(-)
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp	(original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/container.cpp	2011-03-04 16:07:59 EST (Fri, 04 Mar 2011)
@@ -1,138 +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 <list>
-#include <map>
-#include <queue>
-#include <set>
-#include <stack>
-#include <vector>
-#include <string>
-#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/put/pipe/functor.hpp>
-#include <boost/assign/v2/put/pipe/csv.hpp> // Until workaround
-
-#include <libs/assign/v2/test/put/pipe/functor/container.h>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_pipe{
-namespace xxx_functor{
-namespace xxx_container{
-
-    void test(){
-        namespace as2 = boost::assign::v2;
-        {
-            //[put_pipe_functor_array
-            typedef int T;
-            T x = 1, y = 2, z = 3;
-            boost::array<T, 3> cont;
-            BOOST_ASSIGN_V2_CHECK(
-                ( cont | as2::_put( x )( y )( z ) )[0] == x
-            );
-            BOOST_ASSIGN_V2_CHECK( cont[2] == z );
-            //]
-        }
-        {
-            //[put_pipe_csv_array
-            typedef int T;
-            T x = 1, y = 2, z = 3;
-            boost::array<T, 3> cont;
-            BOOST_ASSIGN_V2_CHECK(
-                ( cont | as2::_csv_put( x, y, z ) )[0] == x
-            );
-            BOOST_ASSIGN_V2_CHECK( cont[2] == z );
-            //]
-        }
-        {
-            //[put_pipe_functor_map
-            std::map<std::string, int> assoc;
-            BOOST_ASSIGN_V2_CHECK(
-                (
-                    assoc | as2::_put( "jan", 31 )( "feb", 28 )( "mar", 31 )( "apr", 30)
-                )["feb"] == 28
-            );
-            //]
-        }
-        {
-            //[put_pipe_functor_set
-            typedef std::string T;
-            std::set<T> assoc;
-            T x = "isomer", y = "ephemeral", z = "prosaic";
-            BOOST_ASSIGN_V2_CHECK(
-                ( assoc | as2::_put( x )( y )( z ) ).count( x ) == 1
-            );
-            BOOST_ASSIGN_V2_CHECK( assoc.count( z ) == 1 );
-            //]
-        }
-        {
-            //[put_pipe_functor_deque
-            typedef int T; T x = 1, y = 2, z = 0;
-            std::deque<T> cont;
-            BOOST_ASSIGN_V2_CHECK((
-                    cont | as2::_put( x )( y )( z )
-                ).front() == x );
-            BOOST_ASSIGN_V2_CHECK( cont.back() == z );
-            //]
-        }
-        {
-            //[put_pipe_functor_list
-            typedef int T; T x = 1, y = 2, z = 0;
-            std::list<T> cont;
-            BOOST_ASSIGN_V2_CHECK(
-                (
-                    cont | as2::_put( x )( y )( z )
-                ).front() == x );
-            BOOST_ASSIGN_V2_CHECK( cont.back() == z );
-            //]
-        }
-        {
-            //[put_pipe_functor_vector
-            typedef int T; T x = 1, y = 2, z = 0;
-            std::vector<T> cont;
-            BOOST_ASSIGN_V2_CHECK(
-                (
-                    cont | as2::_put( x )( y )( z )
-                ).front() == x
-            );
-            BOOST_ASSIGN_V2_CHECK( cont.back() == z );
-            //]
-        }
-        {
-            //[put_pipe_functor_queue
-            typedef int T; T x = 8, y = 7, z = 6;
-            std::queue<T> fifo;
-            BOOST_ASSIGN_V2_CHECK(
-                (
-                    fifo | as2::_put( x )( y )( z )
-                ).front() == x
-            );
-            BOOST_ASSIGN_V2_CHECK( fifo.back() == z );
-            //]
-        }
-        {
-            //[put_pipe_functor_stack
-            typedef int T; T x = 8, y = 7, z = 4;
-            std::stack<T> lifo;
-            BOOST_ASSIGN_V2_CHECK(
-                (
-                    lifo | as2::_put( x )( y )( z )
-                ).top() == z ); lifo.pop();
-            BOOST_ASSIGN_V2_CHECK( lifo.top() == y );
-            //]
-        }
-    }// test()
-
-}// xxx_container
-}// xxx_functor
-}// xxx_pipe
-}// xxx_put
-}// xxx_test_assign
+// TODO remove file