Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70341 - in sandbox/assign_v2/libs/assign/v2/test/put/pipe: . optional
From: erwann.rogard_at_[hidden]
Date: 2011-03-21 14:29:49


Author: e_r
Date: 2011-03-21 14:29:48 EDT (Mon, 21 Mar 2011)
New Revision: 70341
URL: http://svn.boost.org/trac/boost/changeset/70341

Log:
upd assign_v2
Added:
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.cpp
      - copied unchanged from r70340, /sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.h
      - copied unchanged from r70340, /sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.h
Removed:
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.h

Deleted: sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp 2011-03-21 14:29:48 EDT (Mon, 21 Mar 2011)
+++ (empty file)
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// 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 <cmath>
-#include <list>
-#include <vector>
-#include <boost/assign/v2/detail/config/check.hpp>
-
-#include <boost/assign/v2/deque/csv_deque.hpp>
-#include <boost/assign/v2/fun.hpp>
-#include <boost/assign/v2/put/pipe/csv_put.hpp>
-#include <boost/lambda/lambda.hpp>
-#include <boost/range/algorithm/equal.hpp>
-#include <libs/assign/v2/test/put/pipe/fun.h>
-
-#include <boost/range/algorithm/for_each.hpp>
-
-
-#include <iostream>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_pipe{
-namespace xxx_fun{
-
- void test()
- {
- using namespace boost;
- namespace as2 = assign::v2;
- {
- //[test_put_pipe_fun_math
- int k = 1; std::list<int> factorials;
- using namespace lambda;
-
- BOOST_ASSIGN_V2_CHECK(
- range::equal(
- factorials | (
- as2::_csv_put % ( as2::_fun = ( var(k) *= _1 ) )
- )/*Equivalent to calling `factorials.push_back( k *= ++i )`*/( 1, 2, 3, 4, 5 ),
- as2::csv_deque<int>( 1 )( 2 )( 6 )( 24 )( 120 )
- )
- );
- //]
- }
- }
-
-}// xxx_fun
-}// xxx_pipe
-}// xxx_value
-}// test_assign_v2

Deleted: sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.h 2011-03-21 14:29:48 EDT (Mon, 21 Mar 2011)
+++ (empty file)
@@ -1,25 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// 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_PIPE_MODULO_FUN_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_PUT_PIPE_MODULO_FUN_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_pipe{
-namespace xxx_fun{
-
- void test();
-
-}// xxx_fun
-}// xxx_pipe
-}// xxx_value
-}// xxx_test_assign
-
-#endif // LIBS_ASSIGN_V2_TEST_PUT_PIPE_MODULO_FUN_ER_2010_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