|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70547 - in sandbox/assign_v2: boost/assign/v2/deque/cpp03 boost/assign/v2/interpreter boost/assign/v2/option boost/assign/v2/pipe boost/assign/v2/ref/wrapper libs/assign/v2 libs/assign/v2/speed libs/assign/v2/test/ref libs/assign/v2/test/unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-03-25 18:22:10
Author: e_r
Date: 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
New Revision: 70547
URL: http://svn.boost.org/trac/boost/changeset/70547
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp | 2
sandbox/assign_v2/boost/assign/v2/interpreter/replace.hpp | 4
sandbox/assign_v2/boost/assign/v2/option/data.hpp | 4
sandbox/assign_v2/boost/assign/v2/option/key.hpp | 32 ++++++------
sandbox/assign_v2/boost/assign/v2/option/mapped.hpp | 2
sandbox/assign_v2/boost/assign/v2/option/modifier.hpp | 6 +-
sandbox/assign_v2/boost/assign/v2/pipe/option_traits.hpp | 2
sandbox/assign_v2/boost/assign/v2/ref/wrapper/copy.hpp | 4
sandbox/assign_v2/libs/assign/v2/speed/test.cpp | 92 ++++++++++++++++++++--------------------
sandbox/assign_v2/libs/assign/v2/test/ref/array.cpp | 10 ++--
sandbox/assign_v2/libs/assign/v2/test/ref/csv_array.cpp | 12 ++--
sandbox/assign_v2/libs/assign/v2/test/unit_testing/chain.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/unit_testing/conversion.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/unit_testing/deque.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/unit_testing/detail.cpp | 6 +-
sandbox/assign_v2/libs/assign/v2/test/unit_testing/interpreter.cpp | 4
sandbox/assign_v2/libs/assign/v2/test/unit_testing/option.cpp | 12 ++--
sandbox/assign_v2/libs/assign/v2/test/unit_testing/pipe.cpp | 14 +++---
sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp | 6 +-
sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp | 12 ++--
sandbox/assign_v2/libs/assign/v2/tutorial.cpp | 2
22 files changed, 120 insertions(+), 120 deletions(-)
Modified: sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -24,7 +24,7 @@
typename result_of::csv_deque<T>::type\
csv_deque( BOOST_PP_ENUM_PARAMS(N, T const & _) )\
{\
- typedef typename result_of::csv_deque<T>::type result_;\
+ typedef typename result_of::csv_deque<T>::type result_;\
return result_() BOOST_PP_REPEAT(N, BOOST_ASSIGN_V2_MACRO1, ~ );\
}\
/**/
Modified: sandbox/assign_v2/boost/assign/v2/interpreter/replace.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/interpreter/replace.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/interpreter/replace.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -18,7 +18,7 @@
//[syntax_put_adapter_replace_parameter
namespace interpreter_aux{
- //Specialize on D
+ //Specialize on D
template<
typename D // Derives from interpreter_crtp
>
@@ -29,7 +29,7 @@
struct apply/*<-*/{}/*->*/;
};
- //Specialize on D
+ //Specialize on D
template<
typename D // Derives from interpreter_crtp
>
Modified: sandbox/assign_v2/boost/assign/v2/option/data.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/option/data.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/option/data.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -28,7 +28,7 @@
typedef interpreter_aux::replace_data_generator<D> meta_;
template<
- typename F // Data generator to replace D with
+ typename F // Data generator to replace D with
>
struct apply/*<-*/ : ::boost::mpl::apply1<meta_, F>{}/*->*/;
@@ -48,7 +48,7 @@
F f_;
}/*->*/;
- // Overrides data generator
+ // Overrides data generator
template<typename C, typename F, typename Tag, typename D, typename F1>
typename ::boost::mpl::apply1<result_of::option_data_generator<D>, F1>::type
operator%(
Modified: sandbox/assign_v2/boost/assign/v2/option/key.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/option/key.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/option/key.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -26,7 +26,7 @@
struct container_key{ typedef typename C::key_type type; };
template<
- typename C // Value or pointer-container
+ typename C // Value or pointer-container
>
struct deduce_key_generator/*<-*/
: boost::mpl::eval_if<
@@ -43,26 +43,26 @@
template<typename C, typename D>
struct option_key :
- ::boost::mpl::apply1<
- interpreter_aux::result_of::option_data_generator<D>,
- typename deduce_key_generator<C>::type
- >{};
+ ::boost::mpl::apply1<
+ interpreter_aux::result_of::option_data_generator<D>,
+ typename deduce_key_generator<C>::type
+ >{};
}//result_of
- // Overrides data generator with a constructor for C::key_type
+ // Overrides data generator with a constructor for C::key_type
template<
- typename C // Associative container
- , typename F, typename Tag, typename D
+ typename C // Associative container
+ , typename F, typename Tag, typename D
>
- typename /*<-*/boost::lazy_enable_if<
- ::boost::mpl::apply1<
- container_aux::through_value_container<
- container_aux::is_sorted
- >,
- C
- >,/*->*/
- result_of::option_key<C, D>/*<-*/
+ typename /*<-*/boost::lazy_enable_if<
+ ::boost::mpl::apply1<
+ container_aux::through_value_container<
+ container_aux::is_sorted
+ >,
+ C
+ >,/*->*/
+ result_of::option_key<C, D>/*<-*/
>::/*->*/type
operator%(
interpreter_crtp<C, F, Tag, D> const& lhs,
Modified: sandbox/assign_v2/boost/assign/v2/option/mapped.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/option/mapped.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/option/mapped.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -23,7 +23,7 @@
namespace modifier_tag{
template<
- typename Arg // Mapping applied to mapped
+ typename Arg // Mapping applied to mapped
>
struct mapped;
Modified: sandbox/assign_v2/boost/assign/v2/option/modifier.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/option/modifier.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/option/modifier.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -24,7 +24,7 @@
namespace interpreter_aux{
template<
- typename Keyword // A class of modifiers
+ typename Keyword // A class of modifiers
, typename Arg /*<-*/= keyword_aux::ignore/*->*/ // Specifies an aspect of the implementation
>
struct option_modifier
@@ -52,12 +52,12 @@
//->
};
- // Specialize on Keyword
+ // Specialize on Keyword
template<typename Keyword, typename Arg>
struct meta_modifier_tag
{
template<
- typename D // Inherits interpreter_crtp<>
+ typename D // Inherits interpreter_crtp<>
>
struct apply;
};
Modified: sandbox/assign_v2/boost/assign/v2/pipe/option_traits.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/pipe/option_traits.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/pipe/option_traits.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -17,7 +17,7 @@
#include <boost/mpl/vector/vector0.hpp>
namespace boost{
- struct use_default;
+ struct use_default;
namespace assign{
namespace v2{
namespace interpreter_aux{
Modified: sandbox/assign_v2/boost/assign/v2/ref/wrapper/copy.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/wrapper/copy.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/wrapper/copy.hpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -37,7 +37,7 @@
wrapper()/*<-*/
{/*TODO or null pointer?*/}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
- // Initialization equivalent to rebind( r )
+ // Initialization equivalent to rebind( r )
explicit wrapper( T& r )/*<-*/
: ptr(&r)
{}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
@@ -60,7 +60,7 @@
using wrapper_crtp<wrapper, T>::operator=;
- // Copy semantics i.e. *ptr = r
+ // Copy semantics i.e. *ptr = r
void assign(typename boost::call_traits<T>::param_type r )/*<-*/
{
this->get() = r;
Modified: sandbox/assign_v2/libs/assign/v2/speed/test.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/speed/test.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/speed/test.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -41,10 +41,10 @@
struct stat_
{
- typedef boost::numeric::bounds<double> bounds_;
- typedef boost::numeric::converter<double, int> converter_;
+ typedef boost::numeric::bounds<double> bounds_;
+ typedef boost::numeric::converter<double, int> converter_;
- stat_()
+ stat_()
:
scale_factor(0),
min( bounds_::highest() ),
@@ -52,11 +52,11 @@
max( 0 ),
cum_elapsed( 0 ){}
- void put(double elapsed_)
+ void put(double elapsed_)
{
this->min = this->min > elapsed_ ? elapsed_ : this->min;
this->max = this->max < elapsed_ ? elapsed_ : this->max;
- this->cum_elapsed += elapsed_;
+ this->cum_elapsed += elapsed_;
}
static const std::string description;
@@ -64,9 +64,9 @@
int scale_factor;
std::string method;
- private:
- friend std::ostream& operator<<(std::ostream&, stat_);
- friend struct vec_stat_;
+ private:
+ friend std::ostream& operator<<(std::ostream&, stat_);
+ friend struct vec_stat_;
double min;
double elapsed; // not computed internally
double max;
@@ -94,9 +94,9 @@
% ( scale * stat.cum_elapsed );
;
- return os << f.str();
+ return os << f.str();
-/* '{'
+/* '{'
<< stat.min << ','
<< stat.max << ','
<< stat.elapsed << ','
@@ -106,13 +106,13 @@
struct vec_stat_
{
typedef std::size_t size_type;
- typedef std::vector<stat_> storage_;
- typedef boost::numeric::converter<double, size_type> converter_;
+ typedef std::vector<stat_> storage_;
+ typedef boost::numeric::converter<double, size_type> converter_;
- void put(stat_ stat)
+ void put(stat_ stat)
{
stat.elapsed = stat.cum_elapsed / converter_::convert( k );
- stats.push_back( stat );
+ stats.push_back( stat );
}
static const std::string description;
@@ -128,10 +128,10 @@
std::ostream& operator<<( std::ostream& os, vec_stat_ vec_stat)
{
- namespace lambda = boost::lambda;
- boost::format f("{\n{%1%, %2%, %3%}");
- f % vec_stat.k % vec_stat.n % vec_stat.m;
- os << f.str();
+ namespace lambda = boost::lambda;
+ boost::format f("{\n{%1%, %2%, %3%}");
+ f % vec_stat.k % vec_stat.n % vec_stat.m;
+ os << f.str();
boost::for_each(
vec_stat.stats,
os << lambda::constant( ',' ) << "\n" << lambda::_1
@@ -144,7 +144,7 @@
vec_stat_& vec_stat, std::size_t k, std::size_t n, Args&&... args)
{
typedef boost::timer timer_;
- C cont;
+ C cont;
vec_stat.k = k;
vec_stat.n = n;
vec_stat.m = sizeof...(Args);
@@ -152,15 +152,15 @@
namespace as2 = boost::assign::v2;
#define MACRO(Expr, Method)\
- {\
+ {\
stat_ stat;\
stat.method = Method;\
stat.scale_factor = scale_factor;\
- for(std::size_t j = 0; j < k; j++)\
- {\
- double elapsed;\
- Expr;\
- stat.put( elapsed );\
+ for(std::size_t j = 0; j < k; j++)\
+ {\
+ double elapsed;\
+ Expr;\
+ stat.put( elapsed );\
}\
vec_stat.put( stat );\
}\
@@ -168,51 +168,51 @@
// Assign Containers
- MACRO( as2::speed_aux::stl_push_back<timer_>(
+ MACRO( as2::speed_aux::stl_push_back<timer_>(
n, elapsed, cont, std::forward<Args>( args )... ),
"stl_push_back"
)
- MACRO( as2::speed_aux::v1_push_back<timer_>(
+ MACRO( as2::speed_aux::v1_push_back<timer_>(
n, elapsed, cont, std::forward<Args>( args )... ),
"v1_push_back"
)
- MACRO( as2::speed_aux::v2_put<timer_>(
+ MACRO( as2::speed_aux::v2_put<timer_>(
n, elapsed, cont, std::forward<Args>( args )... ),
"v2_put"
)
- //MACRO( as2::speed_aux::v2_pipe_put<timer_>(
+ //MACRO( as2::speed_aux::v2_pipe_put<timer_>(
// n, elapsed, cont, std::forward<Args>( args )... ),
// "v2_pipe_put"
//)
- MACRO( as2::speed_aux::v2_pipe_csv_put<timer_>(
+ MACRO( as2::speed_aux::v2_pipe_csv_put<timer_>(
n, elapsed, cont, std::forward<Args>( args )... ),
"v2_pipe_csv_put"
)
// Generate containers
- MACRO( as2::speed_aux::v1_list_of<timer_>(
+ MACRO( as2::speed_aux::v1_list_of<timer_>(
n, elapsed, std::forward<Args>( args )... ),
"v1_list_of"
)
- MACRO( as2::speed_aux::v2_deque<timer_>(
+ MACRO( as2::speed_aux::v2_deque<timer_>(
n, elapsed, std::forward<Args>( args )... ),
"v2_deque"
)
- MACRO( as2::speed_aux::v2_csv_deque<timer_>(
+ MACRO( as2::speed_aux::v2_csv_deque<timer_>(
n, elapsed, std::forward<Args>( args )... ),
"v2_csv_deque"
)
- MACRO( as2::speed_aux::v1_cref_list_of<timer_>(
+ MACRO( as2::speed_aux::v1_cref_list_of<timer_>(
n, elapsed, std::forward<Args>( args )... ),
"v1_cref_list_of"
)
- MACRO( as2::speed_aux::v2_ref_array<timer_>(
+ MACRO( as2::speed_aux::v2_ref_array<timer_>(
n, elapsed, std::forward<Args>( args )... ),
"v2_ref_array"
)
- MACRO( as2::speed_aux::v2_ref_csv_array<timer_>(
+ MACRO( as2::speed_aux::v2_ref_csv_array<timer_>(
n, elapsed, std::forward<Args>( args )... ),
"v2_ref_csv_array"
)
@@ -224,17 +224,17 @@
void test( std::ostream& os )
{
namespace lambda = boost::lambda;
- const std::size_t T_size = 1000;
- typedef std::vector<int> T; boost::array<T, 128> args_list;
- typedef std::deque<T> C;
+ const std::size_t T_size = 1000;
+ typedef std::vector<int> T; boost::array<T, 128> args_list;
+ typedef std::deque<T> C;
for(std::size_t i = 0; i < 128; i++)
{
- args_list[i] = rand_vec( T_size );
+ args_list[i] = rand_vec( T_size );
}
const std::size_t scale_factor = 1000;
- const std::size_t total_sz = 1280000;
- const std::size_t n = 100;
+ const std::size_t total_sz = 1280000;
+ const std::size_t n = 100;
BOOST_STATIC_ASSERT( total_sz/(128 * n) > 0); // Invariant : k * n * m = total_sz;
@@ -315,16 +315,16 @@
#define MACRO1(z, i, data) args_list[i]
#define MACRO2(C_size)\
- {\
- speed_assign_v2::vec_stat_ vec_stat;\
- speed_assign_v2::fill_vec_stat<C>(\
+ {\
+ speed_assign_v2::vec_stat_ vec_stat;\
+ speed_assign_v2::fill_vec_stat<C>(\
scale_factor,\
vec_stat,\
total_sz/(C_size * n),\
n,\
BOOST_PP_ENUM(C_size, MACRO1, ~)\
);\
- os << vec_stat;\
+ os << vec_stat;\
}\
/**/
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/array.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/array.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/array.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -34,13 +34,13 @@
ar[0] = 72; ar[1] = 31; ar[2] = 48;
BOOST_ASSIGN_V2_CHECK(
- range::equal(
- as2::ref::array( 72 )( 31 )( 48 ),
- ar
- )
+ range::equal(
+ as2::ref::array( 72 )( 31 )( 48 ),
+ ar
+ )
)/*<<Temporaries destroyed past semicolon>>*/;
//]
- }
+ }
{
//[test_ref_array_read
typedef int const T;
Modified: sandbox/assign_v2/libs/assign/v2/test/ref/csv_array.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/csv_array.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/csv_array.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -32,19 +32,19 @@
ar[0] = 72; ar[1] = 31; ar[2] = 48;
BOOST_ASSIGN_V2_CHECK(
- range::equal(
- as2::ref::csv_array( 72, 31, 48 ),
- ar
- )
+ range::equal(
+ as2::ref::csv_array( 72, 31, 48 ),
+ ar
+ )
)/*<<Temporaries destroyed past semicolon>>*/;
//]
- }
+ }
{
//[test_ref_csv_array_read
typedef int const T;
T x = 72, y = 31, z = 48;
as2::ref::nth_result_of::csv_array<3, T>::type ar
- = as2::ref::csv_array( x, y, z );
+ = as2::ref::csv_array( x, y, z );
/*<-*/{/*->*/
T& front = ar.front(); T& back = ar.back();
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/chain.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/chain.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/chain.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -23,8 +23,8 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- test->add( BOOST_TEST_CASE( &xxx_chain::test ) );
- }
+ test->add( BOOST_TEST_CASE( &xxx_chain::test ) );
+ }
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/conversion.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/conversion.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/conversion.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -23,8 +23,8 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- test->add( BOOST_TEST_CASE( &xxx_conversion::test ) );
- }
+ test->add( BOOST_TEST_CASE( &xxx_conversion::test ) );
+ }
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -23,8 +23,8 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- test->add( BOOST_TEST_CASE( &xxx_csv::test ) );
- }
+ test->add( BOOST_TEST_CASE( &xxx_csv::test ) );
+ }
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/deque.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/deque.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/deque.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -22,7 +22,7 @@
using namespace test_assign_v2;
{
- test->add( BOOST_TEST_CASE( &xxx_deque::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_deque::test ) );
}
return test;
}
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-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -21,9 +21,9 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- using namespace xxx_detail;
- test->add( BOOST_TEST_CASE( &xxx_functor::test ) );
- test->add( BOOST_TEST_CASE( &xxx_traits::test ) );
+ using namespace xxx_detail;
+ test->add( BOOST_TEST_CASE( &xxx_functor::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_traits::test ) );
}
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/interpreter.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/interpreter.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/interpreter.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -22,8 +22,8 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- namespace ns = xxx_interpreter;
- test->add( BOOST_TEST_CASE( &ns::xxx_modifier::test ) );
+ namespace ns = xxx_interpreter;
+ test->add( BOOST_TEST_CASE( &ns::xxx_modifier::test ) );
}
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/option.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/option.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/option.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -27,12 +27,12 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- namespace ns = xxx_option;
- test->add( BOOST_TEST_CASE( &ns::xxx_data::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_iterate::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_mapped::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_repeat::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_standard::test ) );
+ namespace ns = xxx_option;
+ test->add( BOOST_TEST_CASE( &ns::xxx_data::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_iterate::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_mapped::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_repeat::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_standard::test ) );
}
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/pipe.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/pipe.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/pipe.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -27,13 +27,13 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- namespace ns = xxx_pipe;
- test->add( BOOST_TEST_CASE( &ns::xxx_csv_put::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_data::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_iterate::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_mapped::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_repeat::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_std_modifier::test ) );
+ namespace ns = xxx_pipe;
+ test->add( BOOST_TEST_CASE( &ns::xxx_csv_put::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_data::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_iterate::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_mapped::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_repeat::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_option::xxx_std_modifier::test ) );
}
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -23,9 +23,9 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- namespace ns = xxx_put;
- test->add( BOOST_TEST_CASE( &ns::xxx_ptr::test ) );
- test->add( BOOST_TEST_CASE( &ns::xxx_put::test ) );
+ namespace ns = xxx_put;
+ test->add( BOOST_TEST_CASE( &ns::xxx_ptr::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_put::test ) );
}
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/ref.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -27,12 +27,12 @@
test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
using namespace test_assign_v2;
{
- using namespace xxx_ref;
- test->add( BOOST_TEST_CASE( &xxx_aux_::xxx_convert_traits::test ) );
- test->add( BOOST_TEST_CASE( &xxx_aux_::xxx_list::test ) );
- test->add( BOOST_TEST_CASE( &xxx_array::test ) );
- test->add( BOOST_TEST_CASE( &xxx_csv_array::test ) );
- test->add( BOOST_TEST_CASE( &xxx_wrapper::test ) );
+ using namespace xxx_ref;
+ test->add( BOOST_TEST_CASE( &xxx_aux_::xxx_convert_traits::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_aux_::xxx_list::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_array::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_csv_array::test ) );
+ test->add( BOOST_TEST_CASE( &xxx_wrapper::test ) );
}
return test;
}
Modified: sandbox/assign_v2/libs/assign/v2/tutorial.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/tutorial.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/tutorial.cpp 2011-03-25 18:22:08 EDT (Fri, 25 Mar 2011)
@@ -11,7 +11,7 @@
#include <cstddef>
#include <vector>
#include <deque>
-#include <map>
+#include <map>
#include <queue>
#include <boost/assign/v2.hpp>
#include <boost/array.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