Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70405 - in sandbox/assign_v2: boost/assign/v2/option boost/assign/v2/option/standard boost/assign/v2/option/std_modifier libs/assign/v2/test/put/pipe/option
From: erwann.rogard_at_[hidden]
Date: 2011-03-22 15:28:08


Author: e_r
Date: 2011-03-22 15:28:07 EDT (Tue, 22 Mar 2011)
New Revision: 70405
URL: http://svn.boost.org/trac/boost/changeset/70405

Log:
upd assign_v2
Added:
   sandbox/assign_v2/boost/assign/v2/option/std_modifier/
      - copied from r70403, /sandbox/assign_v2/boost/assign/v2/option/standard/
   sandbox/assign_v2/boost/assign/v2/option/std_modifier.hpp
      - copied unchanged from r70403, /sandbox/assign_v2/boost/assign/v2/option/standard.hpp
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/std_modifier.cpp
      - copied unchanged from r70404, /sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.cpp
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/std_modifier.h
      - copied unchanged from r70404, /sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.h
Removed:
   sandbox/assign_v2/boost/assign/v2/option/standard/
   sandbox/assign_v2/boost/assign/v2/option/standard.hpp
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.cpp
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.h

Deleted: sandbox/assign_v2/boost/assign/v2/option/standard.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/option/standard.hpp 2011-03-22 15:28:07 EDT (Tue, 22 Mar 2011)
+++ (empty file)
@@ -1,15 +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 BOOST_ASSIGN_V2_OPTION_STANDARD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_OPTION_STANDARD_ER_2010_HPP
-#include <boost/assign/v2/option/std_modifier/modifier.hpp>
-#include <boost/assign/v2/option/std_modifier/include.hpp>
-
-#endif // BOOST_ASSIGN_V2_OPTION_STANDARD_ER_2010_HPP

Deleted: sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.cpp 2011-03-22 15:28:07 EDT (Tue, 22 Mar 2011)
+++ (empty file)
@@ -1,81 +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 <deque>
-#include <list>
-#include <queue>
-#include <set>
-#include <stack>
-#include <string>
-#include <boost/range/begin.hpp>
-#include <boost/range/iterator.hpp>
-#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/put/pipe/csv_put.hpp>
-#include <boost/assign/v2/deque.hpp>
-// Options come next
-#include <boost/assign/v2/option/std_modifier.hpp>
-#include <libs/assign/v2/test/put/pipe/option/std_modifier.h>
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_pipe{
-namespace xxx_option{
-namespace xxx_standard{
-
- void test()
- {
- using namespace boost;
- namespace as2 = assign::v2;
-
- // ------------------------------ WARNING ---------------------------- //
- // Don't misconstrue the commands in the tests below as *necessary* to //
- // obtain particular implementation. Most of the time the default is //
- // already set at that invoked with operator% //
- // ------------------------------------------------------------------- //
-
- // MSVC REMINDER : fully qualify boost::begin boost::end - error C2668
-
- {
- //[test_put_pipe_modifier_push_front
- std::deque<int> powers; int front = (
- powers | ( as2::_csv_put % as2::_push_front )( 16, 8, 4, 2, 1 )
- ).front();
-
- BOOST_ASSIGN_V2_CHECK( front == 1 );
- BOOST_ASSIGN_V2_CHECK( powers[4] == 16 );
- //]
- }
- {
- //[test_put_pipe_modifier_push
- typedef int int_; std::queue<int_> fifo; int_ front = (
- fifo | ( as2::_csv_put % as2::_push )( 72, 31, 48 )
- ).front();
-
- BOOST_ASSIGN_V2_CHECK( front == 72 );
- BOOST_ASSIGN_V2_CHECK( fifo.back() == 48 );
- //]
- }
- {
- //[test_put_pipe_modifier_insert
- typedef std::set<double> doubles_; doubles_ sqrt2;
- range_iterator<doubles_>::type lower = (
- sqrt2 | ( as2::_csv_put % as2::_insert )( 1.414, 1.41421, 1.41, 1.4142 )
- ).lower_bound( 1.41 );
-
- BOOST_ASSIGN_V2_CHECK( lower == boost::begin( sqrt2 ) );
- BOOST_ASSIGN_V2_CHECK( sqrt2.upper_bound( 1.41421 ) == boost::end( sqrt2 ) );
- //]
- }
- }
-
-}// xxx_standard
-}// xxx_option
-}// xxx_pipe
-}// xxx_put
-}// test_assign_v2
\ No newline at end of file

Deleted: sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/option/standard.h 2011-03-22 15:28:07 EDT (Tue, 22 Mar 2011)
+++ (empty file)
@@ -1,27 +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_OPTION_STANDARD_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_PUT_PIPE_OPTION_STANDARD_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_put{
-namespace xxx_pipe{
-namespace xxx_option{
-namespace xxx_standard{
-
- void test();
-
-}// xxx_standard
-}// xxx_option
-}// xxx_pipe
-}// xxx_put
-}// xxx_test_assign
-
-#endif // LIBS_ASSIGN_V2_TEST_PUT_PIPE_OPTION_STANDARD_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