|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70108 - in sandbox/assign_v2: boost/assign/v2/detail boost/assign/v2/detail/check/equal_container boost/assign/v2/detail/traits/ptr_container boost/assign/v2/detail/traits/type boost/assign/v2/detail/traits/value_container boost/assign/v2/put/adapter boost/assign/v2/put/fun boost/assign/v2/utility/chain boost/assign/v2/utility/conversion libs/assign/v2/test libs/assign/v2/test/detail libs/assign/v2/test/unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-03-17 22:25:09
Author: e_r
Date: 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
New Revision: 70108
URL: http://svn.boost.org/trac/boost/changeset/70108
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp | 2
sandbox/assign_v2/boost/assign/v2/detail/speed.hpp | 72 ++++++++++++++++++++--------------------
sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/meta.hpp | 22 ++++++------
sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/to_value_container.hpp | 28 +++++++-------
sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp | 46 -------------------------
sandbox/assign_v2/boost/assign/v2/detail/traits/type/value.hpp | 36 -------------------
sandbox/assign_v2/boost/assign/v2/detail/traits/value_container/category.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/put/adapter/as_arg_list.hpp | 2
sandbox/assign_v2/boost/assign/v2/put/fun/deduce.hpp | 8 ++--
sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp | 4 +-
sandbox/assign_v2/boost/assign/v2/utility/conversion/predicate.hpp | 18 +++++-----
sandbox/assign_v2/libs/assign/v2/test/detail.cpp | 2 -
sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp | 28 ---------------
sandbox/assign_v2/libs/assign/v2/test/detail/traits.h | 24 ------------
sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp | 1
19 files changed, 89 insertions(+), 218 deletions(-)
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/array.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -17,7 +17,7 @@
namespace v2{
namespace check_aux{
- struct array{};
+ struct array{};
template<typename C, typename R>
void equal_container(array, C const & cont, R const& r)
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/fifo.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -17,7 +17,7 @@
namespace v2{
namespace check_aux{
- struct fifo{};
+ struct fifo{};
template<typename C, typename R>
void equal_container(fifo, C const & cont, R const& r)
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/lifo.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -17,7 +17,7 @@
namespace v2{
namespace check_aux{
- struct lifo{};
+ struct lifo{};
template<typename C, typename R>
void equal_container(lifo, C const & cont, R const& r)
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/range.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -17,7 +17,7 @@
namespace v2{
namespace check_aux{
- struct range{};
+ struct range{};
template<typename C, typename R>
void equal_container(range, C const & cont, R const& r)
Modified: sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/check/equal_container/sorted.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -17,7 +17,7 @@
namespace v2{
namespace check_aux{
- struct sorted{};
+ struct sorted{};
template<typename C, typename R>
void equal_container(sorted, C const & cont, R const& r)
Modified: sandbox/assign_v2/boost/assign/v2/detail/speed.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/speed.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/speed.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -46,14 +46,14 @@
template<typename F, std::size_t N>
void eval_functor(F const& f, exit_assert_size<N>)
{
- assert( f.size() == N );
+ assert( f.size() == N );
}
template<typename F, typename Exit, typename T, typename... Args>
void eval_functor(F&& f, Exit, T&& t, Args&&... args)
{
- eval_functor(
- std::forward<F>( f )(
+ eval_functor(
+ std::forward<F>( f )(
std::forward<T>( t )
),
Exit(),
@@ -71,7 +71,7 @@
template<typename C, typename T, typename... Args>
void stl_push_back_impl(C& cont, T&& t, Args&&... args)
{
- cont.push_back( std::forward<T>( t ) );
+ cont.push_back( std::forward<T>( t ) );
stl_push_back_impl( cont, std::forward<Args>( args )... );
}
@@ -81,8 +81,8 @@
Timer timer;
for(std::size_t i = 0; i < n; i++)
{
- cont.clear();
- stl_push_back_impl( cont, std::forward<Args>( args )... );
+ cont.clear();
+ stl_push_back_impl( cont, std::forward<Args>( args )... );
}
elapsed = timer.elapsed();
assert( cont.size() == sizeof...(Args) );
@@ -94,17 +94,17 @@
template<typename Timer, typename E, typename C, typename... Args>
void v1_push_back(std::size_t n, E& elapsed, C& cont, Args&&... args)
{
- cont.clear();
+ cont.clear();
Timer timer;
for(std::size_t i = 0; i < n; i++)
{
- cont.clear();
- BOOST_AUTO(functor, assign::push_back( cont ) );
- eval_functor(
+ cont.clear();
+ BOOST_AUTO(functor, assign::push_back( cont ) );
+ eval_functor(
functor, // requires lvalue
exit_empty(),
std::forward<Args>( args )...
- );
+ );
}
elapsed = timer.elapsed();
assert( cont.size() == sizeof...(Args) );
@@ -115,10 +115,10 @@
template<typename Timer, typename E, typename C, typename... Args>
void v2_put(std::size_t n, E& elapsed, C& cont, Args&&... args)
{
- Timer timer;
+ Timer timer;
for(std::size_t i = 0; i < n; i++){
- cont.clear();
- eval_functor( v2::put( cont ), exit_empty(), std::forward<Args>( args )... );
+ cont.clear();
+ eval_functor( v2::put( cont ), exit_empty(), std::forward<Args>( args )... );
}
assert( cont.size() == sizeof...(Args) );
elapsed = timer.elapsed();
@@ -138,15 +138,15 @@
template<typename Timer, typename E, typename C, typename... Args>
void v2_pipe_put(std::size_t n, E& elapsed, C& cont, Args&&... args)
{
- Timer timer;
+ Timer timer;
for(std::size_t i = 0; i < n; i++)
{
- cont.clear();
- v2_pipe_put_impl(
- cont,
- v2::_put,
- std::forward<Args>( args )...
- );
+ cont.clear();
+ v2_pipe_put_impl(
+ cont,
+ v2::_put,
+ std::forward<Args>( args )...
+ );
}
elapsed = timer.elapsed();
assert( cont.size() == sizeof...(Args) );
@@ -157,11 +157,11 @@
template<typename Timer, typename E, typename C, typename... Args>
void v2_pipe_csv_put(std::size_t n, E& elapsed, C& cont, Args&&... args)
{
- Timer timer;
+ Timer timer;
for(std::size_t i = 0; i < n; i++)
{
- cont.clear();
- cont | v2::_csv_put( std::forward<Args>( args )... );
+ cont.clear();
+ cont | v2::_csv_put( std::forward<Args>( args )... );
}
elapsed = timer.elapsed();
assert( cont.size() == sizeof...( Args ) );
@@ -203,8 +203,8 @@
/**/
Timer timer;
for(std::size_t i = 0; i < n; i++){ MACRO( exit_empty ) }
- elapsed = timer.elapsed();
- MACRO( exit_assert_size<1 + sizeof...(Args)> )
+ elapsed = timer.elapsed();
+ MACRO( exit_assert_size<1 + sizeof...(Args)> )
#undef MACRO
}
@@ -214,21 +214,21 @@
template<typename Timer, typename E, typename T, typename... Args>
void v2_deque(std::size_t n, E& elapsed, T&& t, Args&&... args)
{
- typedef typename boost::remove_cv<
- typename boost::remove_reference<T>::type
+ typedef typename boost::remove_cv<
+ typename boost::remove_reference<T>::type
>::type t_;
#define MACRO(Exit)\
- eval_functor(\
+ eval_functor(\
v2::deque<t_>( std::forward<T>( t ) ),\
Exit(),\
std::forward<Args>( args )...\
);\
/**/
- Timer timer;
+ Timer timer;
for(std::size_t i = 0; i < n; i++){ MACRO( exit_empty ) }
elapsed = timer.elapsed();
- MACRO( exit_assert_size<1 + sizeof...(Args)> )
+ MACRO( exit_assert_size<1 + sizeof...(Args)> )
#undef MACRO
@@ -240,7 +240,7 @@
void v2_csv_deque(std::size_t n, E& elapsed, Args&&... args)
{
#define MACRO v2::csv_deque( std::forward<Args>( args )... )
- Timer timer;
+ Timer timer;
for(std::size_t i = 0; i < n; i++){ MACRO; }
elapsed = timer.elapsed();
assert( MACRO .size() == sizeof...(Args) );
@@ -259,10 +259,10 @@
std::forward<Args>( args )...\
);\
/**/
- Timer timer;
+ Timer timer;
for(std::size_t i = 0; i < n; i++){ MACRO(exit_empty) }
elapsed = timer.elapsed();
- MACRO( exit_assert_size<1 + sizeof...(Args)> )
+ MACRO( exit_assert_size<1 + sizeof...(Args)> )
#undef MACRO
}
@@ -272,10 +272,10 @@
void v2_ref_csv_array(std::size_t n, E& elapsed, Args&&... args)
{
#define MACRO v2::ref::csv_array( std::forward<Args>( args )... )
- Timer timer;
+ Timer timer;
for(std::size_t i = 0; i < n; i++){ MACRO; }
elapsed = timer.elapsed();
- assert( MACRO.size() == sizeof...(Args) );
+ assert( MACRO.size() == sizeof...(Args) );
#undef MACRO
}
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/meta.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/meta.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/meta.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -19,21 +19,21 @@
namespace ptr_container_aux{
- template<typename PtrC>
+ template<typename PtrC>
struct is_ptr_container : ::boost::mpl::not_<
- boost::is_same<
- PtrC, typename to_value_container<PtrC>::type
+ boost::is_same<
+ PtrC, typename to_value_container<PtrC>::type
>
>{};
- template<template<typename > class F>
- struct through_value_container
- {
- template<typename PtrC /*or C*/>
- struct apply : F<
- typename to_value_container<PtrC>::type
- >{};
- };
+ template<template<typename > class F>
+ struct through_value_container
+ {
+ template<typename PtrC /*or C*/>
+ struct apply : F<
+ typename to_value_container<PtrC>::type
+ >{};
+ };
}// ptr_container_aux
}// v2
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/to_value_container.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/to_value_container.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/ptr_container/to_value_container.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -29,19 +29,19 @@
typedef std::allocator<T> type;
};
- template<typename PtrC>
+ template<typename PtrC>
struct to_value_value : boost::remove_reference<
- typename PtrC::reference
+ typename PtrC::reference
>{};
- template<typename PtrC>
+ template<typename PtrC>
struct to_value_allocator : to_value_allocator_helper<
- typename PtrC::allocator_type,
+ typename PtrC::allocator_type,
typename to_value_value<PtrC>::type
>
{};
- template<typename PtrC> struct helper_size{};
+ template<typename PtrC> struct helper_size{};
template<typename T, std::size_t N, typename C>
struct helper_size< boost::ptr_array<T, N, C> >
@@ -49,12 +49,12 @@
N
>{};
- template<typename PtrC>
+ template<typename PtrC>
struct to_value_array
{
- typedef boost::array<
- typename to_value_value<PtrC>::type,
- helper_size<PtrC>::value
+ typedef boost::array<
+ typename to_value_value<PtrC>::type,
+ helper_size<PtrC>::value
> type;
};
@@ -118,12 +118,12 @@
};
- // TO_VALUE_CONTAINER
+ // TO_VALUE_CONTAINER
- template<typename PtrC>
- struct to_value_container
+ template<typename PtrC>
+ struct to_value_container
{
- typedef PtrC type;
+ typedef PtrC type;
};
// Array
@@ -205,7 +205,7 @@
std::set
>{};
- // TODO unordered
+ // TODO unordered
}// ptr_container_aux
}// v2
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/type/has_value_type.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 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_TRAITS_TYPE_HAS_VALUE_TYPE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TRAITS_TYPE_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 // BOOST_ASSIGN_V2_TRAITS_TYPE_HAS_VALUE_TYPE_ER_2010_HPP
+// TODO remove file
\ No newline at end of file
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/type/value.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/type/value.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/type/value.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 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_TRAITS_TYPE_VALUE_ER_2010_HPP
-#define BOOST_ASSIGN_V2_TRAITS_TYPE_VALUE_ER_2010_HPP
-#include <boost/mpl/identity.hpp>
-#include <boost/type_traits/remove_cv.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/assign_v2/boost/assign/v2/detail/traits/value_container/category.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/value_container/category.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/value_container/category.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -17,20 +17,20 @@
namespace v2{
namespace value_container_aux{
- // FIFO
+ // FIFO
template<typename C> struct is_fifo : ::boost::mpl::false_{};
template<typename T, typename A>
struct is_fifo< std::queue<T, A> > : ::boost::mpl::true_{};
- // LIFO
+ // LIFO
template<typename V>
struct is_lifo : ::boost::mpl::false_{};
template<typename T, typename A>
struct is_lifo< std::stack<T,A> > : ::boost::mpl::true_{};
- // IS_SORTED
+ // IS_SORTED
template<typename V>
struct is_sorted : ::boost::mpl::false_{};
Modified: sandbox/assign_v2/boost/assign/v2/put/adapter/as_arg_list.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/adapter/as_arg_list.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/adapter/as_arg_list.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -16,7 +16,7 @@
namespace boost{
namespace assign{
namespace v2{
-namespace put_aux{
+namespace put_aux{
template<typename R>
class as_arg_list_adapter
Modified: sandbox/assign_v2/boost/assign/v2/put/fun/deduce.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/fun/deduce.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/fun/deduce.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -24,14 +24,14 @@
//[syntax_put_fun_deduce
namespace put_aux{
- template<typename C>
- struct container_value{ typedef typename C::value_type type; };
+ template<typename C>
+ struct container_value{ typedef typename C::value_type type; };
template<typename /*<<Pointer-container>>*/PtrC>
struct /*<<Meta-function mapping the `PtrC`'s pointer-type to a factory thereof>>*/ deduce_fun_pointer/*<-*/
{
- typedef typename v2::ptr_container_aux::to_value_container<
- PtrC
+ typedef typename v2::ptr_container_aux::to_value_container<
+ PtrC
>::type cont_;
typedef functor_aux::new_<typename cont_::value_type> type;
}/*->*/;
Modified: sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -27,8 +27,8 @@
{
typedef typename boost::iterator_reference<It1>::type ref1_;
typedef typename boost::iterator_reference<It2>::type ref2_;
- typedef ::boost::mpl::quote2<
- ref::convert_traits::reference
+ typedef ::boost::mpl::quote2<
+ ref::convert_traits::reference
> convert_;
typedef typename ::boost::mpl::apply2<
Modified: sandbox/assign_v2/boost/assign/v2/utility/conversion/predicate.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/conversion/predicate.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/conversion/predicate.hpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -19,25 +19,25 @@
namespace v2{
namespace conversion_aux{
- template<typename C>
+ template<typename C>
struct is_array : ::boost::mpl::apply1<
- ptr_container_aux::through_value_container<
- value_container_aux::is_array
+ ptr_container_aux::through_value_container<
+ value_container_aux::is_array
>,
- C
+ C
>{};
- template<typename C>
+ template<typename C>
struct has_push : ::boost::mpl::apply1<
- ptr_container_aux::through_value_container<
- value_container_aux::has_push_deduced_value
+ ptr_container_aux::through_value_container<
+ value_container_aux::has_push_deduced_value
>,
- C
+ C
>{};
template<typename C, typename R>
struct use_put : ::boost::mpl::or_<
- is_array<C>,
+ is_array<C>,
has_push<C>
>{};
Modified: sandbox/assign_v2/libs/assign/v2/test/detail.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail.cpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -8,7 +8,6 @@
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
//////////////////////////////////////////////////////////////////////////////
#include <libs/assign/v2/test/detail/functor.h>
-#include <libs/assign/v2/test/detail/traits.h>
#include <libs/assign/v2/test/detail.h>
namespace test_assign_v2{
@@ -16,7 +15,6 @@
void test(){
xxx_functor::test();
- xxx_traits::test();
}
}// xxx_detail
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -1,27 +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) //
-//////////////////////////////////////////////////////////////////////////////
-#include <boost/assign/v2/detail/traits.hpp> // ensure parses
-#include <libs/assign/v2/test/detail/traits/has_push.h>
-#include <libs/assign/v2/test/detail/traits/has_value_type.h>
-#include <libs/assign/v2/test/detail/traits.h>
-
-namespace test_assign_v2{
-namespace xxx_detail{
-namespace xxx_traits{
-
- void test(){
- xxx_has_push::test();
- xxx_has_value_type::test();
- }
-
-}// xxx_traits
-}// xxx_detail
-}// xxx_test_assign
-
+// TODO remove file
\ No newline at end of file
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/traits.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/traits.h 2011-03-17 22:25:03 EDT (Thu, 17 Mar 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 LIBS_ASSIGN_V2_TEST_DETAIL_TRAITS_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_DETAIL_TRAITS_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_detail{
-namespace xxx_traits{
-
- void test();
-
-}// xxx_traits
-}// xxx_detail
-}// test_assign_v2
-
-#endif
+// TODO remove file
\ No newline at end of file
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp 2011-03-17 22:25:03 EDT (Thu, 17 Mar 2011)
@@ -26,7 +26,6 @@
{
using namespace xxx_detail;
test->add( BOOST_TEST_CASE( &xxx_functor::test ) );
- test->add( BOOST_TEST_CASE( &xxx_traits::test ) );
}
return test;
}
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