|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67945 - in sandbox/statistics/support/boost/assign/v2: . chain/aux_ chain/traits detail detail/checking detail/functor detail/mpl detail/type_traits detail/type_traits/container put/generic put/modifier put/pipe put/sub ref/array/csv ref/fusion ref/wrapper
From: erwann.rogard_at_[hidden]
Date: 2011-01-10 23:33:58
Author: e_r
Date: 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
New Revision: 67945
URL: http://svn.boost.org/trac/boost/changeset/67945
Log:
upd boost/assign/v2
Text files modified:
sandbox/statistics/support/boost/assign/v2/chain/aux_/adaptor.hpp | 2
sandbox/statistics/support/boost/assign/v2/chain/traits/iterator.hpp | 2
sandbox/statistics/support/boost/assign/v2/detail.hpp | 3
sandbox/statistics/support/boost/assign/v2/detail/checking/array.hpp | 4
sandbox/statistics/support/boost/assign/v2/detail/checking/container.hpp | 12 +-
sandbox/statistics/support/boost/assign/v2/detail/checking/deduce_check.hpp | 58 +++++------
sandbox/statistics/support/boost/assign/v2/detail/checking/fifo.hpp | 2
sandbox/statistics/support/boost/assign/v2/detail/checking/lifo.hpp | 2
sandbox/statistics/support/boost/assign/v2/detail/checking/map.hpp | 2
sandbox/statistics/support/boost/assign/v2/detail/checking/range.hpp | 4
sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp | 4
sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp | 4
sandbox/statistics/support/boost/assign/v2/detail/mpl.hpp | 16 ---
sandbox/statistics/support/boost/assign/v2/detail/mpl/switch.hpp | 74 --------------
sandbox/statistics/support/boost/assign/v2/detail/type_traits.hpp | 19 ---
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container.hpp | 32 ------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/forward_to_value.hpp | 31 ------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_push.hpp | 59 -----------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_static_size.hpp | 48 ---------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_associative.hpp | 36 -------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_fifo.hpp | 45 --------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_lifo.hpp | 44 --------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_map.hpp | 46 ---------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp | 30 -----
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_range.hpp | 33 ------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_set.hpp | 46 ---------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_sorted.hpp | 46 ---------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_static_array.hpp | 48 ---------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value.hpp | 197 ---------------------------------------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value_container.hpp | 30 -----
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/static_size.hpp | 48 ---------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value.hpp | 42 --------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value_container.hpp | 35 ------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/decay.hpp | 36 -------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/has_value_type.hpp | 46 ---------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/is_stl_pair.hpp | 38 -------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/meta_convert.hpp | 36 -------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/or_const.hpp | 38 -------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/same_remove_cv.hpp | 33 ------
sandbox/statistics/support/boost/assign/v2/detail/type_traits/value.hpp | 36 -------
sandbox/statistics/support/boost/assign/v2/put/generic/concept_modifier.hpp | 2
sandbox/statistics/support/boost/assign/v2/put/generic/crtp.hpp | 8
sandbox/statistics/support/boost/assign/v2/put/modifier/deduce.hpp | 42 +++----
sandbox/statistics/support/boost/assign/v2/put/modifier/keyword.hpp | 12 --
sandbox/statistics/support/boost/assign/v2/put/pipe/convert.hpp | 45 --------
sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp | 62 +++++++++--
sandbox/statistics/support/boost/assign/v2/put/sub/csv.hpp | 4
sandbox/statistics/support/boost/assign/v2/ref/array/csv/make.hpp | 2
sandbox/statistics/support/boost/assign/v2/ref/fusion/most_const.hpp | 2
sandbox/statistics/support/boost/assign/v2/ref/wrapper/cpp0x.hpp | 6
50 files changed, 158 insertions(+), 1394 deletions(-)
Modified: sandbox/statistics/support/boost/assign/v2/chain/aux_/adaptor.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/chain/aux_/adaptor.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/chain/aux_/adaptor.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -19,7 +19,7 @@
typedef boost::mpl::void_ void_;
- // Tag1 controls conversion. Seet type_traits/meta_convert.hpp
+ // Tag1 controls conversion. Seet traits/type/meta_convert.hpp
template<typename U,typename Tag1 = use_default,typename Tag2 = void_>
struct adaptor1
Modified: sandbox/statistics/support/boost/assign/v2/chain/traits/iterator.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/chain/traits/iterator.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/chain/traits/iterator.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -14,7 +14,7 @@
#include <boost/iterator/iterator_traits.hpp>
#include <boost/assign/v2/temporary/chain_iterator.hpp>
#include <boost/range/detail/demote_iterator_traversal_tag.hpp>
-#include <boost/assign/v2/detail/type_traits/meta_convert.hpp>
+#include <boost/assign/v2/detail/traits/type/meta_convert.hpp>
namespace boost{
namespace assign{
Modified: sandbox/statistics/support/boost/assign/v2/detail.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -14,9 +14,8 @@
#include <boost/assign/v2/detail/functor.hpp>
#include <boost/assign/v2/detail/fwd.hpp>
#include <boost/assign/v2/detail/keyword.hpp>
-#include <boost/assign/v2/detail/mpl.hpp>
/*#include <boost/assign/v2/detail/relational_op.hpp>*/
-#include <boost/assign/v2/detail/type_traits.hpp>
+#include <boost/assign/v2/detail/traits.hpp>
// Don't include
// /checking/checking.hpp
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/array.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/array.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/array.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -11,7 +11,7 @@
#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/type_traits/container/is_static_array.hpp>
+#include <boost/assign/v2/detail/traits/container/is_static_array.hpp>
namespace boost{
namespace assign{
@@ -19,7 +19,7 @@
namespace checking{
template<typename V>
- void do_check(container_tag::static_array, V const& ar1)
+ void do_check(v2::container_tag::static_array, V const& ar1)
{
BOOST_ASSIGN_V2_CHECK( !ar1.empty() );
V ar = ar1;
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/container.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/container.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/container.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -16,6 +16,8 @@
#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{
@@ -25,17 +27,15 @@
template<typename V>
void do_check(V const & v)
{
- using namespace checking::constants;
- typedef typename checking::deduce_check<V>::type tag;
- checking::do_check( tag(), 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[]
{
- using namespace checking::constants;
- typedef typename checking::deduce_check<V>::type tag;
- checking::do_check( tag(), v );
+ typedef typename v2::checking::deduce_check<V>::type tag;
+ v2::checking::do_check( tag(), v );
}
}// container
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/deduce_check.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/deduce_check.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/deduce_check.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -9,13 +9,13 @@
//////////////////////////////////////////////////////////////////////////////
#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/type_traits/container/is_fifo.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_lifo.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_map.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_sorted.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_static_array.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_range.hpp>
-#include <boost/assign/v2/detail/mpl/switch.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_static_array.hpp>
+#include <boost/assign/v2/detail/traits/container/is_range.hpp>
+#include <boost/assign/v2/detail/traits/switch.hpp>
namespace boost{
namespace assign{
@@ -23,56 +23,54 @@
namespace switch_tag{
struct deduce_check{};
}// switch_tag
-namespace mpl{
+namespace switch_aux{
template<>
- struct case_<switch_tag::deduce_check,0> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_check, 0> :
+ switch_aux::helper<
v2::container_tag::fifo,
- v2::container_type_traits::is_fifo
+ v2::container_traits::is_fifo
>{};
template<>
- struct case_<switch_tag::deduce_check,1> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_check, 1> :
+ switch_aux::helper<
v2::container_tag::lifo,
- v2::container_type_traits::is_lifo
+ v2::container_traits::is_lifo
>{};
template<>
- struct case_<switch_tag::deduce_check,2> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_check, 2> :
+ switch_aux::helper<
v2::container_tag::map,
- v2::container_type_traits::is_map
+ v2::container_traits::is_map
>{};
template<>
- struct case_<switch_tag::deduce_check,3> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_check, 3> :
+ switch_aux::helper<
v2::container_tag::sorted,
- v2::container_type_traits::is_sorted
+ v2::container_traits::is_sorted
>{};
template<>
- struct case_<switch_tag::deduce_check,4> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_check, 4> :
+ switch_aux::helper<
v2::container_tag::static_array,
- v2::container_type_traits::is_static_array
+ v2::container_traits::is_static_array
>{};
-
template<>
- struct case_<switch_tag::deduce_check,5> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_check, 5> :
+ switch_aux::helper<
container_tag::range
>{};
-
-
-}// mpl
+
+}// switch_aux
namespace checking{
template<typename T>
- struct deduce_check : v2::mpl::switch_<
+ struct deduce_check : switch_aux::result<
v2::switch_tag::deduce_check,
T
>
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/fifo.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/fifo.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/fifo.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -11,7 +11,7 @@
#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/type_traits/container/is_fifo.hpp>
+#include <boost/assign/v2/detail/traits/container/is_fifo.hpp>
namespace boost{
namespace assign{
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/lifo.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/lifo.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/lifo.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -11,7 +11,7 @@
#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/type_traits/container/is_lifo.hpp>
+#include <boost/assign/v2/detail/traits/container/is_lifo.hpp>
namespace boost{
namespace assign{
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/map.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/map.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/map.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -13,7 +13,7 @@
#include <boost/utility.hpp>
#include <boost/assign/v2/detail/checking/constants.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_map.hpp>
+#include <boost/assign/v2/detail/traits/container/is_map.hpp>
namespace boost{
namespace assign{
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/range.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/range.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -12,8 +12,8 @@
#include <boost/next_prior.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_range.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_sorted.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>
Modified: sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -10,7 +10,7 @@
#ifndef BOOST_ASSIGN_V2_DETAIL_FUNCTOR_CONSTRUCTOR_ER_2010_HPP
#define BOOST_ASSIGN_V2_DETAIL_FUNCTOR_CONSTRUCTOR_ER_2010_HPP
#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
-#include <boost/assign/v2/detail/type_traits/container/value.hpp>
+#include <boost/assign/v2/detail/traits/container/value.hpp>
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
#include <utility>
#else
@@ -83,7 +83,7 @@
template<typename V>
struct deduce_constructor
{
- typedef typename container_type_traits::value<V>::type value_;
+ typedef typename container_traits::value<V>::type value_;
typedef functor_aux::constructor<value_> type;
static type call(){ return functor_aux::constructor<value_>(); }
};
Modified: sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -19,7 +19,7 @@
#include <boost/mpl/always.hpp>
#include <boost/range/reference.hpp>
#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/type_traits/container/value.hpp>
+#include <boost/assign/v2/detail/traits/container/value.hpp>
#include <boost/assign/v2/detail/config/limit_arity.hpp>
#include <boost/assign/v2/detail/functor/crtp_unary_and_up.hpp>
#endif
@@ -85,7 +85,7 @@
template<typename V>
struct deduce_new_
{
- typedef typename container_type_traits::value<V>::type value_;
+ typedef typename container_traits::value<V>::type value_;
typedef functor_aux::new_<value_> type;
static type call(){ return functor_aux::new_<value_>(); }
};
Modified: sandbox/statistics/support/boost/assign/v2/detail/mpl.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/mpl.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/mpl.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,15 +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_TYPE_TRAITS_MPL_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_MPL_ER_2010_HPP
-
-#include <boost/assign/v2/detail/mpl/switch.hpp>
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/mpl/switch.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/mpl/switch.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/mpl/switch.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,73 +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_MPL_SWITCH_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_MPL_SWITCH_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/mpl/eval_if.hpp>
-#include <boost/mpl/identity.hpp>
-#include <boost/mpl/apply.hpp>
-#include <boost/mpl/always.hpp>
-#include <boost/mpl/placeholders.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace switch_tag{
-
- // Each tag in this namespace identifies a switch statement.
-
-}//switch_tag
-namespace mpl{
-
- // Fully specialize by inheriting from wrap<Tag,F>
- // To terminate the switch, inherit from wrap<Tag>
- template<typename SwitchTag, int k> struct case_{};
-
- template<typename T>
- struct wrap_default_f : boost::mpl::true_{};
-
- template<typename Tag, template<typename> class F = wrap_default_f>
- struct wrap
- {
- typedef Tag tag;
- template<typename T> struct apply : F<T>
- {
- // Is Tag compatible with T? Answer : F<T>::value.
- };
- };
-
- template<typename W>
- struct extract_tag
- {
- typedef typename W::tag type;
- };
-
- template<typename SwitchTag, typename T, int k = 0>
- struct switch_ : boost::mpl::eval_if<
- boost::mpl::apply1<
- v2::mpl::case_<SwitchTag, k>,
- T
- >,
- v2::mpl::extract_tag<
- v2::mpl::case_<SwitchTag, k>
- >,
- v2::mpl::switch_<
- SwitchTag,
- T,
- k + 1
- >
- >{};
-
-}// mpl
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,18 +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_TYPE_TRAITS_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_ER_2010_HPP
-
-#include <boost/assign/v2/detail/type_traits/has_value_type.hpp>
-#include <boost/assign/v2/detail/type_traits/meta_convert.hpp>
-#include <boost/assign/v2/detail/type_traits/value.hpp>
-#include <boost/assign/v2/detail/type_traits/container.hpp>
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,31 +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_TYPE_TRAITS_CONTAINER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_ER_2010_HPP
-
-#include <boost/assign/v2/detail/type_traits/container/has_push.hpp>
-#include <boost/assign/v2/detail/type_traits/container/has_static_size.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_associative.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_fifo.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_lifo.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_map.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_range.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_set.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_sorted.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_static_array.hpp>
-#include <boost/assign/v2/detail/type_traits/container/ptr_to_value.hpp>
-#include <boost/assign/v2/detail/type_traits/container/ptr_to_value_container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/static_size.hpp>
-#include <boost/assign/v2/detail/type_traits/container/value.hpp>
-#include <boost/assign/v2/detail/type_traits/container/value_container.hpp>
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/forward_to_value.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/forward_to_value.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/forward_to_value.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,30 +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_TYPE_TRAITS_CONTAINER_FWD_TO_VALUE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_FWD_TO_VALUE_ER_2010_HPP
-#include <boost/assign/v2/detail/type_traits/container/value_container.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
-
- template<template<typename T> class F,typename V>
- struct forward_to_value: F<
- typename value_container<V>::type
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_push.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_push.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_push.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,58 +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_TYPE_TRAITS_CONTAINER_HAS_PUSH_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_HAS_PUSH_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/add_const.hpp>
-#include <boost/config.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-#include <boost/assign/v2/detail/type_traits/container/value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
-
- template<typename V,typename T
- = typename container_type_traits::value<V>::type>
- struct has_push{
-
- typedef typename boost::type_traits::yes_type yes_;
- typedef typename boost::type_traits::no_type no_;
-
- template<typename U,void (U::*fp)(T const&)>
- struct helper{
- // See http://lists.boost.org/Archives/boost/2002/03/27233.php
- };
-
- template<typename U>
- static yes_ test(U*, helper<U, &U::push>* p = 0);
- static no_ test(...);
-
- BOOST_STATIC_CONSTANT(
- bool,
- value = sizeof( test((V*)0) ) == sizeof( yes_ )
- );
-
- typedef boost::mpl::bool_<value> type;
-
- };
-
- template<typename V>
- struct has_push_deduced_value : v2::container_type_traits::has_push<V>{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
-
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_static_size.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_static_size.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/has_static_size.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 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_TYPE_TRAITS_CONTAINER_HAS_STATIC_SIZE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_HAS_STATIC_SIZE_ER_2010_HPP
-#include <boost/assign/v2/detail/fwd/ptr_container.hpp>
-#include <boost/mpl/bool.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
- template<typename T>
- struct has_static_size{
- typedef typename T::size_type size_type;
- typedef char yes;
- typedef char (&no)[2];
- typedef const size_type sig;
-
- template<typename U,sig> struct sfinae { };
- template<typename U> static yes test(sfinae<U, U::static_size>*);
- template<typename U> static no test(...);
-
- BOOST_STATIC_CONSTANT(
- bool,
- value = sizeof( test<T>(0) ) == sizeof( yes )
- );
-
- typedef boost::mpl::bool_<value> type;
- };
-
- template<typename T,std::size_t N,typename C>
- struct has_static_size< boost::ptr_array<T, N, C> > : boost::mpl::true_{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_associative.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_associative.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_associative.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,35 +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_TYPE_TRAITS_CONTAINER_IS_ASSOCIATIVE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_ASSOCIATIVE_ER_2010_HPP
-#include <boost/mpl/or.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_map.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_set.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct associative{};
-}// container_tag
-namespace container_type_traits{
-
- template<typename V>
- struct is_associative : boost::mpl::or_<
- container_type_traits::is_set<V>,
- container_type_traits::is_map<V>
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_fifo.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_fifo.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_fifo.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 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_TYPE_TRAITS_CONTAINER_IS_FIFO_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_FIFO_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct fifo{};
-}// container_tag
-namespace container_type_traits{
-
- template<typename V>
- struct is_fifo_impl : boost::mpl::false_{};
-
- template<typename T,typename A>
- struct is_fifo_impl< std::queue<T,A> > : boost::mpl::true_{};
-
- template<typename V>
- struct is_fifo : forward_to_value<
- is_fifo_impl,
- typename boost::remove_cv<V>::type
- >{};
-
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_lifo.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_lifo.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_lifo.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,43 +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_TYPE_TRAITS_CONTAINER_IS_LIFO_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_LIFO_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct lifo{};
-}// container_tag
-namespace container_type_traits{
-
- template<typename V>
- struct is_lifo_impl : boost::mpl::false_{};
-
- template<typename T,typename A>
- struct is_lifo_impl< std::stack<T,A> > : boost::mpl::true_{};
-
- template<typename V>
- struct is_lifo : forward_to_value<
- is_lifo_impl,
- typename boost::remove_cv<V>::type
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_map.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_map.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_map.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,45 +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_TYPE_TRAITS_CONTAINER_IS_MAP_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_MAP_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct map{};
-}// container_tag
-namespace container_type_traits{
-
- template<typename V>
- struct is_map_impl : boost::mpl::false_{};
-
- template<typename K,typename D,typename C,typename A>
- struct is_map_impl<
- std::map<K,D,C,A>
- > : boost::mpl::true_{};
-
- template<typename V>
- struct is_map : forward_to_value<
- is_map_impl,
- typename boost::remove_cv<V>::type
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,29 +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_TYPE_TRAITS_CONTAINER_IS_PTR_CONTAINER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_PTR_CONTAINER_ER_2010_HPP
-#include <boost/mpl/identity.hpp>
-#include <boost/mpl/eval_if.hpp>
-#include <boost/assign/v2/detail/type_traits/container/ptr_to_value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
- template<typename V>
- struct is_ptr_container : ptr_to_value<V>::is_applicable{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_range.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_range.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,32 +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_TYPE_TRAITS_CONTAINER_IS_RANGE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_RANGE_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct range{};
-}// container_tag
-namespace container_type_traits{
-
- template<typename V>
- struct is_range{
- // purposedly left blank.
- };
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_set.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_set.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_set.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,45 +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_TYPE_TRAITS_CONTAINER_IS_SET_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_SET_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct set{};
-}// container_tag
-namespace container_type_traits{
-
- template<typename V>
- struct is_set_impl : boost::mpl::false_{};
-
- template<typename K,typename C,typename A>
- struct is_set_impl<
- std::set<K,C,A>
- > : boost::mpl::true_{};
-
- template<typename V>
- struct is_set : forward_to_value<
- is_set_impl,
- typename boost::remove_cv<V>::type
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_sorted.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_sorted.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_sorted.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,45 +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_TYPE_TRAITS_CONTAINER_IS_SORTED_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_SORTED_ER_2010_HPP
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/fwd/container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct sorted{};
-}// container_tag
-namespace container_type_traits{
-
- template<typename V>
- struct is_sorted_impl : boost::mpl::false_{};
-
- template<typename T,typename C,typename A>
- struct is_sorted_impl< std::set<T,C,A> > : boost::mpl::true_{};
-
- template<typename K,typename T,typename C,typename A>
- struct is_sorted_impl< std::map<K,T,C,A> > : boost::mpl::true_{};
-
- template<typename V>
- struct is_sorted : forward_to_value<
- is_sorted_impl,
- typename boost::remove_cv<V>::type
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_static_array.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_static_array.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/is_static_array.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 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_TYPE_TRAITS_CONTAINER_IS_STATIC_ARRAY_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_IS_STATIC_ARRAY_ER_2010_HPP
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/assign/v2/detail/type_traits/container/has_static_size.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-
-namespace boost{
-
-// this here is necessary to avoid compiler error in <boost/array.hpp>
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
- template< class T, std::size_t sz >
- class array;
-#endif
-
-namespace assign{
-namespace v2{
-namespace container_tag{
- struct static_array{};
-}// container_tag
-namespace container_type_traits{
-
- // TODO also check that operator[] exists
-
- template<typename T>
- struct is_static_array_impl : has_static_size<T>{};
-
- template<typename V>
- struct is_static_array : forward_to_value<
- is_static_array_impl,
- typename boost::remove_cv<V>::type
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,196 +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_TYPE_TRAITS_CONTAINER_PTR_TO_VALUE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_PTR_TO_VALUE_ER_2010_HPP
-#include <memory> // std::allocator
-#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/type_traits/container/static_size.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
- template<typename V>
- struct ptr_to_value{
-
- struct is_applicable : boost::mpl::false_{};
-
- };
-
-namespace ptr_to_value_aux{
-
- template<typename A,typename T> struct allocator{};
-
- template<typename T>
- struct allocator<std::allocator<void*>, T>
- {
- typedef std::allocator<T> type;
- };
-
- template<typename V>
- struct common
- {
-
- struct is_applicable : boost::mpl::true_{};
-
- typedef typename boost::remove_reference<
- typename V::reference
- >::type value_type;
-
- typedef typename ptr_to_value_aux::allocator<
- typename V::allocator_type,
- value_type
- >::type allocator_type;
- };
-
- template<typename V,template<typename, std::size_t> class F>
- struct static_array_like{
-
- // there is no allocator, hence can't derive from common<V>
-
- struct is_applicable : boost::mpl::true_{};
-
- typedef typename boost::remove_reference<
- typename V::reference
- >::type value_type;
-
- typedef F<
- typename static_array_like::value_type,
- container_type_traits::static_size<V>::value
- > container_type;
-
- };
-
- template<typename V,template<typename,typename> class F>
- struct seq_like : ptr_to_value_aux::common<V>{
-
- typedef F<
- typename seq_like::value_type,
- typename seq_like::allocator_type
- > container_type;
-
- };
-
- template<typename V,template<typename,typename,typename,typename> class F>
- struct map_like : ptr_to_value_aux::common<V>{
-
- typedef F<
- typename V::key_type,
- typename map_like::value_type,
- typename V::key_compare,
- typename map_like::allocator_type
- > container_type;
-
- };
-
- template<typename V,template<typename,typename,typename> class F>
- struct set_like : ptr_to_value_aux::common<V>{
-
- typedef F<
- typename V::key_type,
- typename V::key_compare,
- typename set_like::allocator_type
- > container_type;
-
- };
-
- template<typename V,
- template<typename,typename,typename,typename,typename> class F>
- class unordered_map_like : ptr_to_value_aux::common<V>{
-
- typedef F<
- typename V::key_type,
- typename unordered_map_like::value_type,
- typename V::hasher,
- typename V::key_equal,
- typename unordered_map_like::allocator_type
- > container_type;
-
- };
-
- template<typename V,
- template<typename,typename,typename,typename> class F>
- class unordered_set_like : ptr_to_value_aux::common<V>{
-
- typedef F<
- typename V::key_type,
- typename V::hasher,
- typename V::key_equal,
- typename unordered_set_like::allocator_type
- > container_type;
-
- };
-
-
-}// ptr_to_value_aux
-
-
- // Array
- template<
- typename T,
- std::size_t N,
- typename A
- >
- struct ptr_to_value<
- boost::ptr_array<T,N,A>
- > : ptr_to_value_aux::static_array_like<
- boost::ptr_array<T,N,A>,
- boost::array
- >{};
-
- // Sequence
-
- template<
- typename T,
- typename C,
- typename A
- >
- struct ptr_to_value<
- boost::ptr_deque<T,C,A>
- > : ptr_to_value_aux::seq_like<
- boost::ptr_deque<T,C,A>,
- std::deque
- >{};
-
- template<
- typename T,
- typename C,
- typename A
- >
- struct ptr_to_value<
- boost::ptr_list<T,C,A>
- > : ptr_to_value_aux::seq_like<
- boost::ptr_list<T,C,A>,
- std::list
- >{};
-
- template<
- typename T,
- typename C,
- typename A
- >
- struct ptr_to_value<
- boost::ptr_vector<T,C,A>
- > : ptr_to_value_aux::seq_like<
- boost::ptr_vector<T,C,A>,
- std::vector
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value_container.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value_container.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/ptr_to_value_container.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,29 +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_TYPE_TRAITS_CONTAINER_PTR_TO_VALUE_CONTAINER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_PTR_TO_VALUE_CONTAINER_ER_2010_HPP
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
- template<typename V>
- struct ptr_to_value_container{
- typedef typename ptr_to_value<V>::container_type type;
- };
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/static_size.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/static_size.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/static_size.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 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_TYPE_TRAITS_CONTAINER_STATIC_SIZE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_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>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
-
- template<typename V>
- struct static_size{
-
- // Needed as a meta-function (indirection) bec. ptr_array
- // does not expose static_size.
-
- };
-
- template<typename T,std::size_t N>
- struct static_size< boost::array<T,N> >
- : boost::mpl::size_t<
- boost::array<T,N>::static_size
- >{};
-
- template<typename T,std::size_t N,typename C>
- struct static_size< boost::ptr_array<T, N, C> >
- : boost::mpl::size_t<
- N
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,41 +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_TYPE_TRAITS_CONTAINER_VALUE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_VALUE_ER_2010_HPP
-#include <boost/mpl/eval_if.hpp>
-#include <boost/mpl/identity.hpp>
-#include <boost/type_traits/remove_pointer.hpp>
-#include <boost/assign/v2/detail/type_traits/value.hpp>
-#include <boost/assign/v2/detail/type_traits/container/forward_to_value.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits
-{
-
- // TODO
- // maybe this should be
- // remove_reference<V::reference>::type
- // or
- // range_value<V>, is available.
- // Think about ptr_container in making this change.
- template<typename V>
- struct value : forward_to_value<
- type_traits::value,
- V
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value_container.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value_container.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/container/value_container.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,34 +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_TYPE_TRAITS_CONTAINER_VALUE_CONTAINER_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CONTAINER_VALUE_CONTAINER_ER_2010_HPP
-#include <boost/mpl/identity.hpp>
-#include <boost/mpl/eval_if.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
-#include <boost/assign/v2/detail/type_traits/container/ptr_to_value_container.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace container_type_traits{
-
- template<typename V>
- struct value_container : boost::mpl::eval_if<
- is_ptr_container<V>,
- ptr_to_value_container<V>,
- boost::mpl::identity<V>
- >{};
-
-}// container_type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/decay.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/decay.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/decay.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,35 +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_TYPE_TRAITS_DECAY_OF_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_DECAY_OF_ER_2010_HPP
-#include <boost/mpl/eval_if.hpp>
-#include <boost/type_traits/is_array.hpp>
-#include <boost/type_traits/decay.hpp>
-#include <boost/type_traits/add_const.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace type_traits{
-
- // To support string literals properly
- template< class T >
- struct decay : boost::mpl::eval_if<
- ::boost::is_array<T>,
- ::boost::decay<const T>,
- ::boost::decay<T> >
- {};
-
-}// type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/has_value_type.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/has_value_type.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/has_value_type.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,45 +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_TYPE_TRAITS_HAS_VALUE_TYPE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_HAS_VALUE_TYPE_ER_2010_HPP
-#include <boost/config.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace type_traits{
-
- template<typename T>
- struct has_value_type{
-
- typedef typename boost::type_traits::yes_type yes_;
- typedef typename boost::type_traits::no_type no_;
-
-
- template<typename U>
- static yes_ test(U*, typename U::value_type* p = 0);
- static no_ test(...);
-
- BOOST_STATIC_CONSTANT(
- bool,
- value = sizeof( test((T*)0) ) == sizeof( yes_ )
- );
- typedef boost::mpl::bool_<value> type;
- };
-
-
-}// type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/is_stl_pair.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/is_stl_pair.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/is_stl_pair.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,37 +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_TYPE_TRAITS_IS_STL_PAIR_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_IS_STL_PAIR_ER_2010_HPP
-#include <utility>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/detail/yes_no_type.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace type_traits{
-
-// template< class T, class U >
-// boost::type_traits::yes_type is_pair( const std::pair<T,U>* );
-// boost::type_traits::no_type is_pair( ... );
-
- template<typename T>
- struct is_stl_pair : boost::mpl::false_{};
-
- template<typename T,typename U>
- struct is_stl_pair< std::pair<T, U> > : boost::mpl::true_{};
-
-
-}// type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/meta_convert.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/meta_convert.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/meta_convert.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,35 +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_TYPE_TRAITS_HAS_VALUE_TYPE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_HAS_VALUE_TYPE_ER_2010_HPP
-#include <boost/assign/v2/ref/detail/convert_traits/result.hpp>
-
-namespace boost{
-// struct boost::use_default;
-namespace assign{
-namespace v2{
-namespace type_traits{
-
- template<typename Tag = boost::use_default>
- struct meta_convert{
-
- template<typename T1,typename T2>
- struct apply : ref::convert_traits::result<T1,T2>{};
-
- };
-
- // Specialize on Tag as needed.
-
-}// type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/or_const.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/or_const.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/or_const.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,37 +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_TYPE_TRAITS_OR_CONST_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_TYPE_TRAITS_OR_CONST_ER_2010_HPP
-#include <boost/mpl/or.hpp>
-#include <boost/mpl/bool.hpp>
-#include <boost/type_traits/is_const.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace type_traits{
-
-template<typename ...Args> struct or_const : boost::mpl::false_{};
-
-template<typename T, typename ...Args>
-struct or_const<T, Args...> : boost::mpl::or_<
- boost::is_const<T>,
- or_const<Args...>
->{};
-
-template<typename T, typename ...Args>
-struct or_const<T const, Args...> : boost::mpl::true_{};
-
-}// type_traits
-}// v2
-}// assign
-}// boost
-
-#endif // BOOST_ASSIGN_V2_DETAIL_TYPE_TRAITS_OR_CONST_ER_2010_HPP
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/same_remove_cv.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/same_remove_cv.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/same_remove_cv.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,32 +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_TYPE_TRAITS_SAME_REMOVE_CV_ER_2010_HPP
-#define BOOST_ASSIGN_V2_DETAIL_TYPE_TRAITS_SAME_REMOVE_CV_ER_2010_HPP
-#include <boost/type_traits/is_same.hpp>
-#include <boost/type_traits/remove_cv.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace type_traits{
-
- template<typename T,typename U>
- struct same_remove_cv : boost::is_same<
- typename boost::remove_cv<T>::type,
- typename boost::remove_cv<U>::type
- >{};
-
-}// type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
-
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/detail/type_traits/value.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/type_traits/value.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/type_traits/value.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,35 +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_TYPE_TRAITS_VALUE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_VALUE_ER_2010_HPP
-#include <boost/type_traits/remove_cv.hpp>
-#include <boost/mpl/identity.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace type_traits{
-
- template<typename V>
- struct value_impl : boost::mpl::identity<
- typename V::value_type
- >{};
-
- template<typename V>
- struct value : value_impl<
- typename boost::remove_cv<V>::type
- >{};
-
-}// type_traits
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/put/generic/concept_modifier.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/generic/concept_modifier.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/generic/concept_modifier.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -10,7 +10,7 @@
#ifndef BOOST_ASSIGN_V2_PUT_CONCEPT_MODIFIER_ER_2010_HPP
#define BOOST_ASSIGN_V2_PUT_CONCEPT_MODIFIER_ER_2010_HPP
#include <boost/concept_check.hpp>
-#include <boost/assign/v2/detail/type_traits/container/value.hpp>
+#include <boost/assign/v2/detail/traits/container/value.hpp>
#include <boost/assign/v2/put/modifier/def.hpp>
namespace boost{
Modified: sandbox/statistics/support/boost/assign/v2/put/generic/crtp.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/generic/crtp.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/generic/crtp.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -15,7 +15,7 @@
#include <boost/type_traits/remove_cv.hpp>
#include <boost/range/reference.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_ptr_container.hpp>
+#include <boost/assign/v2/detail/traits/container/is_ptr_container.hpp>
#include <boost/assign/v2/detail/functor.hpp>
#include <boost/assign/v2/detail/keyword.hpp>
#include <boost/assign/v2/detail/pp/forward.hpp>
@@ -48,15 +48,15 @@
namespace v2{
namespace put_aux{
- // T = container_type_traits::value<V>::type
+ // T = container_traits::value<V>::type
template<typename V>
struct crtp_traits
{
- typedef typename v2::container_type_traits::value<
+ typedef typename v2::container_traits::value<
V
>::type value_type;
typedef typename boost::mpl::eval_if<
- container_type_traits::is_ptr_container<V>,
+ container_traits::is_ptr_container<V>,
functor_aux::deduce_new_<V>,
functor_aux::deduce_constructor<V>
>::type functor_type;
Modified: sandbox/statistics/support/boost/assign/v2/put/modifier/deduce.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/modifier/deduce.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/deduce.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -14,11 +14,11 @@
#include <boost/mpl/identity.hpp>
#include <boost/type_traits/is_same.hpp>
-#include <boost/assign/v2/detail/mpl/switch.hpp>
+#include <boost/assign/v2/detail/traits/switch.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_static_array.hpp>
-#include <boost/assign/v2/detail/type_traits/container/has_push.hpp>
-#include <boost/assign/v2/detail/type_traits/container/is_associative.hpp>
+#include <boost/assign/v2/detail/traits/container/is_static_array.hpp>
+#include <boost/assign/v2/detail/traits/container/has_push.hpp>
+#include <boost/assign/v2/detail/traits/container/is_associative.hpp>
namespace boost{
struct use_default;
@@ -28,48 +28,44 @@
struct deduce_put{};
}// switch_tag
namespace modifier_tag{
- //struct at_next;
struct iterate;
struct insert;
struct push;
struct push_back;
}// modifier_tag
-namespace mpl{
+namespace switch_aux{
template<>
- struct case_<switch_tag::deduce_put,0> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_put, 0> :
+ switch_aux::helper<
v2::modifier_tag::insert,
- v2::container_type_traits::is_associative
+ v2::container_traits::is_associative
>{};
template<>
- struct case_<switch_tag::deduce_put,1> :
- v2::mpl::wrap<
-// v2::modifier_tag::at_next,
+ struct case_<switch_tag::deduce_put, 1> :
+ switch_aux::helper<
v2::modifier_tag::iterate,
- v2::container_type_traits::is_static_array
+ v2::container_traits::is_static_array
>{};
template<>
- struct case_<switch_tag::deduce_put,2> :
- v2::mpl::wrap<
+ struct case_<switch_tag::deduce_put, 2> :
+ switch_aux::helper<
v2::modifier_tag::push,
- container_type_traits::has_push_deduced_value
+ container_traits::has_push_deduced_value
>{};
template<>
- struct case_<switch_tag::deduce_put,3> :
- v2::mpl::wrap<v2::modifier_tag::push_back>{};
+ struct case_<switch_tag::deduce_put, 3> :
+ switch_aux::helper<v2::modifier_tag::push_back>{};
-}// mpl
+}// switch_aux
namespace put_aux{
template<typename T>
- struct deduce_modifier : v2::mpl::switch_<
- v2::switch_tag::deduce_put,
- T
- >
+ struct deduce_modifier
+ : switch_aux::result< switch_tag::deduce_put, T>
{};
struct kwd_deduce{};
Modified: sandbox/statistics/support/boost/assign/v2/put/modifier/keyword.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/modifier/keyword.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/keyword.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -1,11 +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) //
-//////////////////////////////////////////////////////////////////////////////
-
-// TODO delete file
\ No newline at end of file
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/put/pipe/convert.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/pipe/convert.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/pipe/convert.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 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_PUT_PIPE_CONVERT_ER_2010_HPP
-#define BOOST_ASSIGN_V2_PUT_PIPE_CONVERT_ER_2010_HPP
-#include <boost/assign/v2/put/pipe/range.hpp>
-
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_convert_aux
-{
- template<typename To>
- struct adaptor
- {
- adaptor(){}
- };
-
- template<typename From,typename To>
- To operator|(From& from, put_convert_aux::adaptor<To> const& dummy)
- {
- To to;
- return to | v2::_put_range( from );
- }
-
-}// convert_aux
-
- template<typename To>
- put_convert_aux::adaptor<To> put_convert()
- {
- return put_convert_aux::adaptor<To>();
- }
-
-}// v2
-}// assign
-}// boost
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -9,6 +9,7 @@
//////////////////////////////////////////////////////////////////////////////
#ifndef BOOST_ASSIGN_V2_PUT_PIPE_RANGE_ER_2010_HPP
#define BOOST_ASSIGN_V2_PUT_PIPE_RANGE_ER_2010_HPP
+#include <boost/type.hpp>
#include <boost/range/algorithm/for_each.hpp>
#include <boost/assign/v2/put/sub/functor.hpp>
#include <boost/assign/v2/ref/wrapper/copy.hpp>
@@ -19,44 +20,79 @@
namespace put_range_aux
{
template<typename From>
- class adaptor1 : ref::wrapper<ref::assign_tag::copy, From const>
+ class helper1 : ref::wrapper<ref::assign_tag::copy, From const>
{
typedef ref::wrapper<ref::assign_tag::copy, From const> super_t;
public:
- adaptor1(From const& from) : super_t(from){}
+ helper1(From const& from) : super_t(from){}
From const& from()const{ return this->unwrap(); }
private:
- adaptor1();
+ helper1();
};
- struct adaptor2
+ struct helper2
{
- adaptor2(){}
+ helper2(){}
template<typename From>
- adaptor1<From> operator()(const From& from)const
+ helper1<From> operator()(const From& from)const
{
- typedef adaptor1<From> result_;
+ typedef helper1<From> result_;
return result_( from );
}
};
+ // This decl must come first, it seems.
+ template<typename To, typename From>
+ To operator|(::boost::type<To>, put_range_aux::helper1<From> const& h);
+
template<typename To,typename From>
- To& operator|(To& to, put_range_aux::adaptor1<From> const& h)
+ To& operator|(To& to, put_range_aux::helper1<From> const& h)
{
- // TODO remove
- // typedef typename put_range_aux::deduce_operation<To>::type tag_;
- // put_range_aux::put_range( tag_(), h.from(), to );
-
::boost::for_each( h.from(), put( to ) );
return to;
}
+ template<typename To, typename From>
+ To operator|(::boost::type<To>, put_range_aux::helper1<From> const& h)
+ {
+ To to;
+ to | h;
+ return to;
+ }
+
}// put_range_aux
- put_range_aux::adaptor2 const _put_range = put_range_aux::adaptor2();
+
+ put_range_aux::helper2 const _put_range = put_range_aux::helper2();
+
+}// v2
+}// assign
+}// boost
+
+#include <boost/assign/v2/detail/checking/fwd.hpp>
+
+// Must be preceded by
+// #include <boost/assign/v2/detail/checking/container.hpp>
+
+namespace boost{
+namespace assign{
+namespace v2{
+namespace checking{
+namespace put_range{
+
+ template<typename To, typename From>
+ void do_check(From const& from)
+ {
+ To to;
+ namespace ns = checking::container;
+ ns::do_check( to | _put_range( from ) );
+ }
+
+}// put_range
+}// checking
}// v2
}// assign
}// boost
Modified: sandbox/statistics/support/boost/assign/v2/put/sub/csv.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/sub/csv.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/sub/csv.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -11,7 +11,7 @@
#define BOOST_ASSIGN_V2_PUT_SUB_CSV_ER_2010_HPP
#include <boost/assign/v2/ref/wrapper/framework.hpp>
#include <boost/assign/v2/ref/wrapper/copy.hpp>
-#include <boost/assign/v2/detail/type_traits/container/value.hpp>
+#include <boost/assign/v2/detail/traits/container/value.hpp>
#include <boost/assign/v2/put/sub/functor.hpp>
#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
@@ -39,7 +39,7 @@
typedef ref::assign_tag::copy assign_tag_;
typedef ref::wrapper<assign_tag_,V> super1_t;
- typedef typename v2::container_type_traits::value<
+ typedef typename v2::container_traits::value<
V
>::type value_type;
Modified: sandbox/statistics/support/boost/assign/v2/ref/array/csv/make.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/ref/array/csv/make.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/ref/array/csv/make.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -18,7 +18,7 @@
#include <utility>
#include <boost/config.hpp>
#include <boost/utility/enable_if.hpp>
-#include <boost/assign/v2/detail/type_traits/or_const.hpp>
+#include <boost/assign/v2/detail/traits/type/or_const.hpp>
#else
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/arithmetic/inc.hpp>
Modified: sandbox/statistics/support/boost/assign/v2/ref/fusion/most_const.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/ref/fusion/most_const.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/ref/fusion/most_const.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -12,7 +12,7 @@
#include <boost/utility/enable_if.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/identity.hpp>
-#include <boost/assign/v2/detail/type_traits/same_remove_cv.hpp>
+#include <boost/assign/v2/detail/traits/type/same_remove_cv.hpp>
#include <boost/assign/v2/ref/fusion/fwd.hpp>
#include <boost/assign/v2/ref/fusion/root.hpp>
Modified: sandbox/statistics/support/boost/assign/v2/ref/wrapper/cpp0x.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/ref/wrapper/cpp0x.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/ref/wrapper/cpp0x.hpp 2011-01-10 23:33:51 EST (Mon, 10 Jan 2011)
@@ -7,8 +7,8 @@
// 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_TYPE_TRAITS_CPP0X_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TYPE_TRAITS_CPP0X_ER_2010_HPP
+#ifndef BOOST_ASSIGN_V2_TRAITS_TYPE_CPP0X_ER_2010_HPP
+#define BOOST_ASSIGN_V2_TRAITS_TYPE_CPP0X_ER_2010_HPP
#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
@@ -45,4 +45,4 @@
#endif
-#endif // BOOST_ASSIGN_V2_TYPE_TRAITS_CPP0X_ER_2010_HPP
+#endif // BOOST_ASSIGN_V2_TRAITS_TYPE_CPP0X_ER_2010_HPP
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