|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69025 - in sandbox/assign_v2/boost/assign/v2/detail: . checking functor fwd traits/container
From: erwann.rogard_at_[hidden]
Date: 2011-02-19 05:33:37
Author: e_r
Date: 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
New Revision: 69025
URL: http://svn.boost.org/trac/boost/changeset/69025
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/boost/assign/v2/detail/checking.hpp | 24 ---------
sandbox/assign_v2/boost/assign/v2/detail/checking/array.hpp | 39 ---------------
sandbox/assign_v2/boost/assign/v2/detail/checking/check.hpp | 50 -------------------
sandbox/assign_v2/boost/assign/v2/detail/checking/constants.hpp | 95 -------------------------------------
sandbox/assign_v2/boost/assign/v2/detail/checking/container.hpp | 48 ------------------
sandbox/assign_v2/boost/assign/v2/detail/checking/deduce_check.hpp | 85 ---------------------------------
sandbox/assign_v2/boost/assign/v2/detail/checking/equal.hpp | 45 -----------------
sandbox/assign_v2/boost/assign/v2/detail/checking/fifo.hpp | 43 ----------------
sandbox/assign_v2/boost/assign/v2/detail/checking/fwd.hpp | 29 -----------
sandbox/assign_v2/boost/assign/v2/detail/checking/iterator.hpp | 63 -------------------------
sandbox/assign_v2/boost/assign/v2/detail/checking/lifo.hpp | 43 ----------------
sandbox/assign_v2/boost/assign/v2/detail/checking/map.hpp | 62 ------------------------
sandbox/assign_v2/boost/assign/v2/detail/checking/range.hpp | 51 --------------------
sandbox/assign_v2/boost/assign/v2/detail/checking/relational_op.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/detail/functor/crtp_unary_and_up.hpp | 18 +++---
sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/detail/fwd.hpp | 17 ------
sandbox/assign_v2/boost/assign/v2/detail/fwd/container.hpp | 49 -------------------
sandbox/assign_v2/boost/assign/v2/detail/fwd/ptr_container.hpp | 99 ---------------------------------------
sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp | 4
sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp | 4
23 files changed, 37 insertions(+), 847 deletions(-)
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 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 BOOST_ASSIGN_V2_DETAIL_CHECKING_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_CHECKING_ER_2010_HPP
-
-#include <boost/assign/v2/detail/checking/array.hpp>
-#include <boost/assign/v2/detail/checking/container.hpp>
-#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/checking/deduce_check.hpp>
-#include <boost/assign/v2/detail/checking/fifo.hpp>
-#include <boost/assign/v2/detail/checking/lifo.hpp>
-#include <boost/assign/v2/detail/checking/map.hpp>
-#include <boost/assign/v2/detail/checking/range.hpp>
-/*#include <boost/assign/v2/detail/checking/relational_op.hpp>*/
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/array.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/array.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/array.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 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) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_V2_CHECKING_ARRAY_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_ARRAY_ER_2010_HPP
-#include <boost/assign/v2/detail/checking/check.hpp>
-#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/traits/container/is_array.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-
- template<typename V>
- void do_check(v2::container_tag::array, V const& ar1)
- {
- BOOST_ASSIGN_V2_CHECK( !ar1.empty() );
- V ar = ar1;
- namespace ns = checking::constants;
- ns::do_check(
- ar[0], ar[1], ar[2], ar[3],
- ar[4], ar[5], ar[6], ar[7]
- );
- }
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/check.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/check.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/check.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,49 +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_CHECK
-#include <boost/assert.hpp>
-#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_ASSERT( p )
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-
- struct val_pred{
-
- val_pred(){}
- template<typename T, typename U>
- void operator()(T const& t, U const& u)const
- {
- BOOST_ASSIGN_V2_CHECK( t == u );
- }
- };
-
- struct ref_pred{
-
- ref_pred(){}
- template<typename T, typename U>
- void operator()(T const& t, U const& u)const
- {
- BOOST_ASSIGN_V2_CHECK( &t == &u );
- }
- };
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
-
-// Override with this in the test suite:
-// #include <boost/test/test_tools.hpp>
-// #define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
-
+// TODO remove file
\ No newline at end of file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/constants.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/constants.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/constants.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,94 +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_CHECKING_CONSTANTS_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_CONSTANTS_ER_2010_HPP
-#include <boost/next_prior.hpp>
-#include <boost/range.hpp>
-#include <boost/array.hpp>
-#include <boost/numeric/conversion/converter.hpp>
-#include <boost/assign/v2/detail/checking/check.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-namespace constants{
-
-namespace {
- // value // rank
- const int a = 1; // 1
- const int b = 5; // 5
- const int c = 3; // 3
- const int d = 4; // 4
- const int e = 2; // 2
- const int f = 9; // 7
- const int g = 0; // 0
- const int h = 7; // 6
-}
- // array
- template<typename T>
- boost::array<T,8> make_array()
- {
- typedef boost::array<T,8> ar_;
- ar_ ar;
- ar[0] = a; ar[1] = b; ar[2] = c;
- ar[3] = d; ar[4] = e; ar[5] = f;
- ar[6] = g; ar[7] = h;
- return ar;
- }
-
- namespace{
- const boost::array<int,8> array = make_array<int>();
- }
-
- // values
- template<typename T>
- void do_check(
- const T& a1,const T& b1,const T& c1,const T& d1,
- const T& e1,const T& f1,const T& g1,const T& h1
- )
- {
- BOOST_ASSIGN_V2_CHECK( a == a1 );
- BOOST_ASSIGN_V2_CHECK( b == b1 );
- BOOST_ASSIGN_V2_CHECK( c == c1 );
- BOOST_ASSIGN_V2_CHECK( d == d1 );
- BOOST_ASSIGN_V2_CHECK( e == e1 );
- BOOST_ASSIGN_V2_CHECK( f == f1 );
- BOOST_ASSIGN_V2_CHECK( g == g1 );
- BOOST_ASSIGN_V2_CHECK( h == h1 );
- }
-
-namespace sorted{
-
- template<typename T>
- void do_check(
- const T& a1,const T& b1,const T& c1,const T& d1,
- const T& e1,const T& f1,const T& g1,const T& h1
- )
- {
- namespace ns = checking::constants;
- BOOST_ASSIGN_V2_CHECK( a1 == ns::g );
- BOOST_ASSIGN_V2_CHECK( b1 == ns::a );
- BOOST_ASSIGN_V2_CHECK( c1 == ns::e );
- BOOST_ASSIGN_V2_CHECK( d1 == ns::c );
- BOOST_ASSIGN_V2_CHECK( e1 == ns::d );
- BOOST_ASSIGN_V2_CHECK( f1 == ns::b );
- BOOST_ASSIGN_V2_CHECK( g1 == ns::h );
- BOOST_ASSIGN_V2_CHECK( h1 == ns::f );
- }
-
-}// sorted
-}// constants
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/container.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 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) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_V2_CHECKING_CONTAINER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_CONTAINER_ER_2010_HPP
-#include <boost/assign/v2/detail/checking/deduce_check.hpp>
-#include <boost/assign/v2/detail/checking/array.hpp>
-#include <boost/assign/v2/detail/checking/fifo.hpp>
-#include <boost/assign/v2/detail/checking/lifo.hpp>
-#include <boost/assign/v2/detail/checking/map.hpp>
-#include <boost/assign/v2/detail/checking/range.hpp>
-
-#include <boost/assign/v2/detail/checking/fwd.hpp> // consistencey check
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-namespace container{
-
- template<typename V>
- void do_check(V const & v)
- {
- typedef typename v2::checking::deduce_check<V>::type tag;
- v2::checking::do_check( tag(), v );
- }
-
- template<typename V>
- void do_check(V & v) // This is needed for operator[]
- {
- typedef typename v2::checking::deduce_check<V>::type tag;
- v2::checking::do_check( tag(), v );
- }
-
-}// container
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/deduce_check.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/deduce_check.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/deduce_check.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,84 +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_CHECKING_DEDUCE_TAG_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_DEDUCE_TAG_ER_2010_HPP
-#include <boost/assign/v2/detail/traits/container/is_fifo.hpp>
-#include <boost/assign/v2/detail/traits/container/is_lifo.hpp>
-#include <boost/assign/v2/detail/traits/container/is_map.hpp>
-#include <boost/assign/v2/detail/traits/container/is_sorted.hpp>
-#include <boost/assign/v2/detail/traits/container/is_array.hpp>
-#include <boost/assign/v2/detail/traits/container/is_range.hpp>
-#include <boost/assign/v2/detail/traits/switch.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace switch_tag{
- struct deduce_check{};
-}// switch_tag
-namespace switch_aux{
-
- template<>
- struct case_<switch_tag::deduce_check, 0> :
- switch_aux::helper<
- v2::container_tag::fifo,
- v2::container_traits::is_fifo
- >{};
-
- template<>
- struct case_<switch_tag::deduce_check, 1> :
- switch_aux::helper<
- v2::container_tag::lifo,
- v2::container_traits::is_lifo
- >{};
-
- template<>
- struct case_<switch_tag::deduce_check, 2> :
- switch_aux::helper<
- v2::container_tag::map,
- v2::container_traits::is_map
- >{};
-
- template<>
- struct case_<switch_tag::deduce_check, 3> :
- switch_aux::helper<
- v2::container_tag::sorted,
- v2::container_traits::is_sorted
- >{};
-
- template<>
- struct case_<switch_tag::deduce_check, 4> :
- switch_aux::helper<
- v2::container_tag::array,
- v2::container_traits::is_array
- >{};
-
- template<>
- struct case_<switch_tag::deduce_check, 5> :
- switch_aux::helper<
- container_tag::range
- >{};
-
-}// switch_aux
-namespace checking{
-
- template<typename T>
- struct deduce_check : switch_aux::result<
- v2::switch_tag::deduce_check,
- T
- >
- {};
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/equal.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/equal.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/equal.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 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) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_V2_DETAIL_CHECKING_EQUAL_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_CHECKING_EQUAL_ER_2010_HPP
-#include <boost/assign/v2/detail/checking/check.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-
- struct equal_val{
-
- equal_val(){}
- template<typename T, typename U>
- void operator()(T const& t, U const& u)const
- {
- BOOST_ASSIGN_V2_CHECK( t == u );
- }
- };
-
- struct equal_ref{
-
- equal_ref(){}
- template<typename T, typename U>
- void operator()(T const& t, U const& u)const
- {
- BOOST_ASSIGN_V2_CHECK( &t == &u );
- }
- };
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/fifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/fifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/fifo.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,42 +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_CHECKING_FIFO_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_FIFO_ER_2010_HPP
-#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/checking/check.hpp>
-#include <boost/assign/v2/detail/traits/container/is_fifo.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-
- template<typename V>
- void do_check(container_tag::fifo,V const & v1)
- {
- V v = v1;
- using namespace constants;
- BOOST_ASSIGN_V2_CHECK( v.front() == a ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.front() == b ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.front() == c ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.front() == d ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.front() == e ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.front() == f ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.front() == g ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.front() == h ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.empty() == true);
- }
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/fwd.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 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 BOOST_ASSIGN_V2_CHECKING_FWD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_FWD_ER_2010_HPP
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-namespace container{
-
- template<typename V> void do_check(V const & v);
- template<typename V> void do_check(V& v);
-
-}// container
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/iterator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/iterator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/iterator.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,62 +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_CHECKING_ITERATOR_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_ITERATOR_ER_2010_HPP
-#include <boost/next_prior.hpp>
-#include <boost/assign/v2/detail/checking/constants.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-namespace iterator{
-
- template<typename It>
- void do_check(It it)
- {
- namespace ns = checking::constants;
- ns::do_check(
- *boost::next( it, 0 ),
- *boost::next( it, 1 ),
- *boost::next( it, 2 ),
- *boost::next( it, 3 ),
- *boost::next( it, 4 ),
- *boost::next( it, 5 ),
- *boost::next( it, 6 ),
- *boost::next( it, 7 )
- );
- }
-
-namespace sorted{
-
- template<typename It>
- void do_check(It it)
- {
- namespace ns = checking::constants::sorted;
- ns::do_check(
- *boost::next( it, 0 ),
- *boost::next( it, 1 ),
- *boost::next( it, 2 ),
- *boost::next( it, 3 ),
- *boost::next( it, 4 ),
- *boost::next( it, 5 ),
- *boost::next( it, 6 ),
- *boost::next( it, 7 )
- );
- }
-
-}// sorted
-}// iterator
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/lifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/lifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/lifo.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,42 +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_CHECKING_LIFO_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_LIFO_ER_2010_HPP
-#include <boost/assign/v2/detail/checking/check.hpp>
-#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/traits/container/is_lifo.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-
- template<typename V>
- void do_check(container_tag::lifo,V const& v1)
- {
- using namespace checking::constants;
- V v = v1;
- BOOST_ASSIGN_V2_CHECK( v.top() == h ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.top() == g ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.top() == f ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.top() == e ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.top() == d ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.top() == c ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.top() == b ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.top() == a ); v.pop();
- BOOST_ASSIGN_V2_CHECK( v.empty() == true );
- }
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/map.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/map.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/map.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,61 +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_CHECKING_MAP_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_MAP_ER_2010_HPP
-#include <boost/range/begin.hpp>
-#include <boost/utility.hpp>
-
-#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/traits/container/is_map.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-
- // Assumes
- // map[ a ] = a; ...; map[ h ] = h;
- template<typename V>
- void do_check(container_tag::map, V & map) // non-const due to operator[]
- {
- { // Key
- using namespace checking::constants::sorted;
- do_check(
- boost::next( boost::begin( map ), 0 )->first,
- boost::next( boost::begin( map ), 1 )->first,
- boost::next( boost::begin( map ), 2 )->first,
- boost::next( boost::begin( map ), 3 )->first,
- boost::next( boost::begin( map ), 4 )->first,
- boost::next( boost::begin( map ), 5 )->first,
- boost::next( boost::begin( map ), 6 )->first,
- boost::next( boost::begin( map ), 7 )->first
- );
- }
- { // Data
- using namespace checking::constants;
- do_check(
- map[ a ],
- map[ b ],
- map[ c ],
- map[ d ],
- map[ e ],
- map[ f ],
- map[ g ],
- map[ h ]
- );
- }
- }
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/range.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/range.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/range.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,50 +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_CHECKING_RANGE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_CHECKING_RANGE_ER_2010_HPP
-#include <boost/next_prior.hpp>
-#include <boost/range/begin.hpp>
-#include <boost/range/end.hpp>
-#include <boost/assign/v2/detail/traits/container/is_range.hpp>
-#include <boost/assign/v2/detail/traits/container/is_sorted.hpp>
-#include <boost/assign/v2/detail/checking/check.hpp>
-#include <boost/assign/v2/detail/checking/iterator.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace checking{
-
- template<typename R>
- void do_check(container_tag::range, R const& r)
- {
- namespace ns = checking::iterator;
- ns::do_check( boost::begin( r ) );
- BOOST_ASSIGN_V2_CHECK(
- boost::next( boost::begin( r ), 8 ) == boost::end( r )
- );
- }
-
- template<typename R>
- void do_check(container_tag::sorted, R const& r)
- {
- namespace ns = checking::iterator::sorted;
- ns::do_check( boost::begin( r ) );
- BOOST_ASSIGN_V2_CHECK(
- boost::next( boost::begin( r ), 8 ) == boost::end( r )
- );
- }
-
-}// checking
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/checking/relational_op.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/checking/relational_op.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/relational_op.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -11,7 +11,7 @@
#define BOOST_ASSIGN_V2_CHECKING_RELATIONAL_OP_ER_2010_HPP
#include <boost/array.hpp>
#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/checking/check.hpp>
+#include <boost/assign/v2/detail/config/check.hpp>
namespace boost{
namespace assign{
Modified: sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -63,7 +63,7 @@
using super_::operator();
-#define MACRO(z,N,data) \
+#define BOOST_ASSIGN_V2_MACRO(z,N,data) \
template<BOOST_PP_ENUM_PARAMS(N,typename T)> \
T impl( BOOST_PP_ENUM_BINARY_PARAMS(N, T, &_) )const{ \
return T( BOOST_PP_ENUM_PARAMS(N, _) ); \
@@ -72,10 +72,10 @@
BOOST_PP_REPEAT_FROM_TO(
1,
BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_ARITY),
- MACRO,
+ BOOST_ASSIGN_V2_MACRO,
~
)
-#undef MACRO
+#undef BOOST_ASSIGN_V2_MACRO
#endif
};
Modified: sandbox/assign_v2/boost/assign/v2/detail/functor/crtp_unary_and_up.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/functor/crtp_unary_and_up.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/functor/crtp_unary_and_up.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -87,7 +87,7 @@
#else
-#define MACRO1(r, SeqU) \
+#define BOOST_ASSIGN_V2_MACRO1(r, SeqU) \
template<BOOST_ASSIGN_V2_decl_params(SeqU)> \
typename ::boost::mpl::apply1< \
F, \
@@ -101,21 +101,21 @@
/**/
-#define MACRO2(z, n, data) BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
- MACRO1, \
+#define BOOST_ASSIGN_V2_MACRO2(z, n, data) BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
+ BOOST_ASSIGN_V2_MACRO1, \
BOOST_PP_SEQ_FIRST_N(BOOST_PP_INC(n), BOOST_ASSIGN_V2_SEQ)\
) \
/**/
BOOST_PP_REPEAT(
BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY,
- MACRO2,
+ BOOST_ASSIGN_V2_MACRO2,
~
)
-#undef MACRO1
-#undef MACRO2
+#undef BOOST_ASSIGN_V2_MACRO1
+#undef BOOST_ASSIGN_V2_MACRO2
-#define MACRO(z, N, data) \
+#define BOOST_ASSIGN_V2_MACRO(z, N, data) \
template<BOOST_PP_ENUM_PARAMS(N, typename T)> \
typename ::boost::mpl::apply1< \
F, \
@@ -142,10 +142,10 @@
BOOST_PP_REPEAT_FROM_TO(
BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY),
BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_ARITY),
- MACRO,
+ BOOST_ASSIGN_V2_MACRO,
~
)
-#undef MACRO
+#undef BOOST_ASSIGN_V2_MACRO
#endif // #if BOOST_ASSIGN_V2_ENABLE_CPP0X
Modified: sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -65,7 +65,7 @@
using super_::operator();
-#define MACRO(z, N, data) \
+#define BOOST_ASSIGN_V2_MACRO(z, N, data) \
template<BOOST_PP_ENUM_PARAMS(N, typename T)> \
result_type impl( BOOST_PP_ENUM_BINARY_PARAMS(N, T, &_) )const{ \
return new T( BOOST_PP_ENUM_PARAMS(N, _) ); \
@@ -74,10 +74,10 @@
BOOST_PP_REPEAT_FROM_TO(
1,
BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_ARITY),
- MACRO,
+ BOOST_ASSIGN_V2_MACRO,
~
)
-#undef MACRO
+#undef BOOST_ASSIGN_V2_MACRO
#endif
};
Modified: sandbox/assign_v2/boost/assign/v2/detail/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/fwd.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,16 +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_DETAIL_FWD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_FWD_ER_2010_HPP
-
-#include <boost/assign/v2/detail/fwd/container.hpp>
-#include <boost/assign/v2/detail/fwd/ptr_container.hpp>
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/fwd/container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/fwd/container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/fwd/container.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,48 +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_DETAIL_FWD_CONTAINER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_FWD_CONTAINER_ER_2010_HPP
-
-
-namespace std{
-
- // www.sgi.com/tech/stl/Deque.html
- template<typename T,typename A> class deque;
-
- // http://www.sgi.com/tech/stl/List.html
- template<typename T,typename A> class list;
-
- // http://www.sgi.com/tech/stl/Map.html
- template<typename K,typename T,typename C,typename A> class map;
-
- // http://www.sgi.com/tech/stl/queue.html
- template<typename T,typename S> class queue;
-
- // http://www.sgi.com/tech/stl/set.html
- template<typename T,typename C,typename A> class set;
-
- // http://www.sgi.com/tech/stl/stack.html
- template<typename T,typename S> class stack;
-
- // http://www.sgi.com/tech/stl/Vector.html
- template<typename T,typename A> class vector;
-
-}// std
-namespace boost{
-
- // http://www.boost.org/doc/libs/release/doc/html/array.html
- template<typename T, std::size_t size> class array;
-
- // http://www.boost.org/doc/libs/release/libs/circular_buffer/index.html
- template<typename T, typename Alloc> class circular_buffer;
-
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/fwd/ptr_container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/fwd/ptr_container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/fwd/ptr_container.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -1,98 +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_DETAIL_FWD_PTR_CONTAINER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_FWD_PTR_CONTAINER_ER_2010_HPP
-
-namespace boost{
-
- template
- <
- class T,
- size_t N,
- class CloneAllocator
- >
- class ptr_array;
-
- template
- <
- class T,
- class CloneAllocator,
- class Allocator
- >
- class ptr_circular_buffer;
-
- template
- <
- class T,
- class CloneAllocator,
- class Allocator
- >
- class ptr_deque;
-
- template
- <
- class T,
- class CloneAllocator,
- class Allocator
- >
- class ptr_list;
-
- template
- <
- class Key,
- class T,
- class Compare,
- class CloneAllocator,
- class Allocator
- >
- class ptr_map;
-
- template
- <
- class Key,
- class Compare,
- class CloneAllocator,
- class Allocator
- >
- class ptr_set;
-
- template
- <
- class Key,
- class T,
- class Hash,
- class Pred,
- class CloneAllocator,
- class Allocator
- >
- class ptr_unordered_map;
-
- template
- <
- class Key,
- class Hash,
- class Pred,
- class CloneAllocator,
- class Allocator
- >
- class ptr_unordered_set;
-
-
- template
- <
- class T,
- class CloneAllocator,
- class Allocator
- >
- class ptr_vector;
-
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/is.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -10,7 +10,7 @@
#ifndef BOOST_ASSIGN_V2_TRAITS_CONTAINER_IS
#include <boost/preprocessor/cat.hpp>
#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
+#include <boost/assign/v2/detail/traits/container/fwd.hpp>
#include <boost/assign/v2/detail/traits/container/forward_to_value.hpp>
#define BOOST_ASSIGN_V2_TRAITS_CONTAINER_IS(name)\
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/ptr_to_value.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -13,8 +13,8 @@
#include <boost/preprocessor/cat.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/type_traits/remove_reference.hpp>
-#include <boost/assign/v2/detail/fwd/ptr_container.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
+#include <boost/assign/v2/detail/traits/container/ptr_fwd.hpp>
+#include <boost/assign/v2/detail/traits/container/fwd.hpp>
#include <boost/assign/v2/detail/traits/container/static_size.hpp>
namespace boost{
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/container/static_size.hpp 2011-02-19 05:33:29 EST (Sat, 19 Feb 2011)
@@ -10,8 +10,8 @@
#ifndef BOOST_ASSIGN_V2_TRAITS_CONTAINER_STATIC_SIZE_ER_2010_HPP
#define BOOST_ASSIGN_V2_TRAITS_CONTAINER_STATIC_SIZE_ER_2010_HPP
#include <boost/mpl/size_t.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
-#include <boost/assign/v2/detail/fwd/ptr_container.hpp>
+#include <boost/assign/v2/detail/traits/container/fwd.hpp>
+#include <boost/assign/v2/detail/traits/container/ptr_fwd.hpp>
namespace boost{
namespace assign{
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