|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66852 - in sandbox/statistics/support/boost/assign/v2/put: . range range/modifier
From: erwann.rogard_at_[hidden]
Date: 2010-11-29 15:15:43
Author: e_r
Date: 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
New Revision: 66852
URL: http://svn.boost.org/trac/boost/changeset/66852
Log:
small reorganization of boost/assign/v2
Removed:
sandbox/statistics/support/boost/assign/v2/put/range/modifier.hpp
sandbox/statistics/support/boost/assign/v2/put/range/modifier/copy.hpp
sandbox/statistics/support/boost/assign/v2/put/range/modifier/deduce.hpp
sandbox/statistics/support/boost/assign/v2/put/range/modifier/put.hpp
sandbox/statistics/support/boost/assign/v2/put/range/modifier/range.hpp
sandbox/statistics/support/boost/assign/v2/put/range/range.hpp
Text files modified:
sandbox/statistics/support/boost/assign/v2/put/range.hpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
Modified: sandbox/statistics/support/boost/assign/v2/put/range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/range.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/range.hpp 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
@@ -12,6 +12,5 @@
#include <boost/assign/v2/put/range/adaptor.hpp>
#include <boost/assign/v2/put/range/convert.hpp>
-// #include <boost/assign/v2/put/range.hpp> // TODO remove
#endif
Deleted: sandbox/statistics/support/boost/assign/v2/put/range/modifier.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/range/modifier.hpp 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
+++ (empty file)
@@ -1,21 +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) //
-//////////////////////////////////////////////////////////////////////////////
-// TODO remove file
-/*
-#ifndef BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_ER_2010_HPP
-
-#include <boost/assign/v2/put/range/modifier/put.hpp>
-#include <boost/assign/v2/put/range/modifier/copy.hpp>
-#include <boost/assign/v2/put/range/modifier/range.hpp>
-#include <boost/assign/v2/put/range/modifier/deduce.hpp>
-
-#endif
-*/
Deleted: sandbox/statistics/support/boost/assign/v2/put/range/modifier/copy.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/range/modifier/copy.hpp 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
+++ (empty file)
@@ -1,51 +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) //
-//////////////////////////////////////////////////////////////////////////////
-// TODO remove file
-/*
-#ifndef BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_COPY_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_COPY_ER_2010_HPP
-#include <string>
-#include <stdexcept>
-#include <boost/throw_exception.hpp>
-#include <boost/range/begin.hpp>
-#include <boost/range/size.hpp>
-#include <boost/range/algorithm/copy.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_range_tag
-{
- struct copy{};
-}// convert_tag
-namespace put_range_aux{
-
- template<typename From,typename To>
- void put_range (put_range_tag::copy, From const& from, To& to)
- {
- if(boost::size( to ) < boost::size( from ) ){
- typedef std::string str_;
- const str_ str =
- str_("put_convert<to>(")
- + "convert_tag::copy, from)"
- + "To::size() < boost::size( from )";
- std::out_of_range e( str );
- boost::throw_exception(e);
- }
- boost::copy( from, boost::begin( to ) );
- }
-
-}// put_range_aux{
-}// v2
-}// assign
-}// boost
-
-#endif
-*/
\ No newline at end of file
Deleted: sandbox/statistics/support/boost/assign/v2/put/range/modifier/deduce.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/range/modifier/deduce.hpp 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
+++ (empty file)
@@ -1,65 +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) //
-//////////////////////////////////////////////////////////////////////////////
-// TODO remove file
-/*
-#ifndef BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_DEDUCE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_DEDUCE_ER_2010_HPP
-#include <boost/assign/v2/detail/type_traits/container/has_static_size.hpp>
-#include <boost/assign/v2/detail/type_traits/container/has_push.hpp>
-#include <boost/assign/v2/detail/mpl/switch.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace switch_tag{
- struct put_range{};
-}// switch_tag
-namespace put_range_tag{
- struct copy;
- struct put;
- struct range;
-}// put_range_tag
-namespace mpl{
-
- template<>
- struct case_<switch_tag::put_range,0> :
- v2::mpl::wrap<
- put_range_tag::put,
- container_type_traits::has_push_deduced_value
- >{};
-
- template<>
- struct case_<switch_tag::put_range,1> :
- v2::mpl::wrap<
- v2::put_range_tag::copy,
- v2::container_type_traits::has_static_size
- >{};
-
- template<>
- struct case_<switch_tag::put_range,2> :
- v2::mpl::wrap<put_range_tag::range>{};
-
-}// mpl
-namespace put_range_aux
-{
-
- template<typename T>
- struct deduce_operation : v2::mpl::switch_<
- v2::switch_tag::put_range,
- T
- >{};
-
-}// convert_aux
-}// v2
-}// assign
-}// boost
-
-#endif
-*/
\ No newline at end of file
Deleted: sandbox/statistics/support/boost/assign/v2/put/range/modifier/put.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/range/modifier/put.hpp 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
+++ (empty file)
@@ -1,43 +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) //
-//////////////////////////////////////////////////////////////////////////////
-// TODO remove file
-/*
-#ifndef BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_PUT_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_PUT_ER_2010_HPP
-#include <boost/range/algorithm/for_each.hpp>
-//#include <boost/assign/v2/put/wrapper/make.hpp>
-#include <boost/assign/v2/put/sub/make.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_range_tag
-{
- struct put{};
-}// convert_tag
-namespace put_range_aux{
-
- template<typename From,typename To>
- void put_range(
- put_range_tag::put,
- From const& from,
- To& to
- )
- {
- ::boost::for_each( from, put( to ) );
- }
-
-}// put_range_aux
-}// v2
-}// assign
-}// boost
-
-#endif
-*/
\ No newline at end of file
Deleted: sandbox/statistics/support/boost/assign/v2/put/range/modifier/range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/range/modifier/range.hpp 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
+++ (empty file)
@@ -1,42 +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) //
-//////////////////////////////////////////////////////////////////////////////
-// TODO remove file
-/*
-#ifndef BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_RANGE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_RANGE_MODIFIER_RANGE_ER_2010_HPP
-#include <boost/range/begin.hpp>
-#include <boost/range/end.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_range_tag
-{
- struct range{};
-}// convert_tag
-namespace put_range_aux{
-
- template<typename From,typename To>
- void put_range(
- put_range_tag::range,
- From const& from,
- To& to
- )
- {
- to = To( boost::begin( from ), boost::end( from ) );
- }
-
-}// put_range_aux
-}// v2
-}// assign
-}// boost
-
-#endif
-*/
\ No newline at end of file
Deleted: sandbox/statistics/support/boost/assign/v2/put/range/range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/range/range.hpp 2010-11-29 15:15:37 EST (Mon, 29 Nov 2010)
+++ (empty file)
@@ -1,32 +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) //
-//////////////////////////////////////////////////////////////////////////////
-// TODO remove file
-/*
-#ifndef BOOST_ASSIGN_V2_PUT_RANGE_RANGE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_RANGE_RANGE_ER_2010_HPP
-#include <boost/assign/v2/put/range/adaptor.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-
- // TODO remove
- template<typename From,typename To>
- To& put_range(From const& from, To& to)
- {
- return to | adaptor::_put_range( from );
- }
-
-}// v2
-}// assign
-}// boost
-
-#endif
-*/
\ 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