|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70012 - in sandbox/assign_v2: boost/assign/v2 boost/assign/v2/detail/functor boost/assign/v2/detail/traits/type boost/assign/v2/put/adapter boost/assign/v2/put/deque boost/assign/v2/put/fun boost/assign/v2/ref/array boost/assign/v2/utility/chain boost/assign/v2/utility/conversion libs/assign/v2/src libs/assign/v2/test/detail libs/assign/v2/test/put libs/assign/v2/test/put/modifier libs/assign/v2/test/put/pipe libs/assign/v2/test/put/pipe/modifier libs/assign/v2/test/utility
From: erwann.rogard_at_[hidden]
Date: 2011-03-15 23:13:50
Author: e_r
Date: 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
New Revision: 70012
URL: http://svn.boost.org/trac/boost/changeset/70012
Log:
upd assign
Text files modified:
sandbox/assign_v2/boost/assign/v2/detail.hpp | 2 -
sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp | 8 ++++-
sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp | 9 +++++
sandbox/assign_v2/boost/assign/v2/detail/traits/type/meta_convert.hpp | 7 ++--
sandbox/assign_v2/boost/assign/v2/put/adapter/as_arg_list.hpp | 8 ++--
sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp | 2 -
sandbox/assign_v2/boost/assign/v2/put/fun/modulo.hpp | 50 +++++++++++++++------------------
sandbox/assign_v2/boost/assign/v2/ref/array/conversion.hpp | 5 ---
sandbox/assign_v2/boost/assign/v2/utility/chain/iterator.hpp | 2
sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp | 29 ++-----------------
sandbox/assign_v2/boost/assign/v2/utility/conversion/converter.hpp | 18 ------------
sandbox/assign_v2/libs/assign/v2/src/main.cpp | 4 ++
sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp | 34 +++++++++++++---------
sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp | 14 ++++----
sandbox/assign_v2/libs/assign/v2/test/put/fun.cpp | 14 ++++----
sandbox/assign_v2/libs/assign/v2/test/put/modifier/deduce.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp | 18 ++++++------
sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp | 16 +++++-----
sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp | 14 ++++----
sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp | 22 +++++++-------
sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp | 4 +-
sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp | 6 ++--
sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp | 2
sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp | 14 ++++----
sandbox/assign_v2/libs/assign/v2/test/put/pipe/put.cpp | 9 ++---
sandbox/assign_v2/libs/assign/v2/test/put/put.cpp | 60 ++++++++++++++++++++-------------------
sandbox/assign_v2/libs/assign/v2/test/utility/conversion.cpp | 10 +++---
sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp | 2
30 files changed, 179 insertions(+), 210 deletions(-)
Modified: sandbox/assign_v2/boost/assign/v2/detail.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -9,9 +9,7 @@
//////////////////////////////////////////////////////////////////////////////
#ifndef BOOST_ASSIGN_V2_DETAIL_ER_2010_HPP
#define BOOST_ASSIGN_V2_DETAIL_ER_2010_HPP
-#include <boost/assign/v2/detail/checking.hpp>
#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/traits.hpp>
Modified: sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/functor/constructor.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -10,6 +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/keyword/nil.hpp>
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
#include <utility>
#else
@@ -25,7 +26,7 @@
namespace v2{
namespace functor_aux{
- template<typename T>
+ template<typename T = keyword_aux::nil>
class constructor
#if !BOOST_ASSIGN_V2_ENABLE_CPP0X
: public functor_aux::crtp_unary_and_up<
@@ -40,6 +41,8 @@
constructor(){}
+ template<typename U>
+ constructor<U> type()const{ return constructor<U>(); }
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
template<typename... Args>
@@ -75,6 +78,7 @@
};
}// functor_aux
+/*
namespace result_of{
template<typename T>
@@ -92,7 +96,7 @@
typedef typename result_of::constructor<T>::type result_;
return result_();
}
-
+*/
}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/functor/new.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -10,6 +10,7 @@
#ifndef BOOST_ASSIGN_V2_DETAIL_FUNCTOR_NEW_ER_2010_HPP
#define BOOST_ASSIGN_V2_DETAIL_FUNCTOR_NEW_ER_2010_HPP
#include <boost/assign/v2/detail/config/enable_cpp0x.hpp>
+#include <boost/assign/v2/detail/keyword/nil.hpp>
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
#include <utility>
#else
@@ -26,7 +27,7 @@
namespace v2{
namespace functor_aux{
- template<typename T>
+ template<typename T = keyword_aux::nil>
class new_
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
// do nothing
@@ -48,6 +49,10 @@
result_type operator()()const{ return new T(); }
+ template<typename U>
+ new_<U> type()const{ return new_<U>(); }
+
+
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
template<typename... Args>
result_type operator()(Args&&...args)const
@@ -80,6 +85,7 @@
};
}// functor_aux
+/*
namespace result_of{
template<typename T>
@@ -98,6 +104,7 @@
return result_();
}
+*/
}// v2
}// assign
}// boost
Modified: sandbox/assign_v2/boost/assign/v2/detail/traits/type/meta_convert.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/detail/traits/type/meta_convert.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/detail/traits/type/meta_convert.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -7,11 +7,12 @@
// 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
+#ifndef BOOST_ASSIGN_V2_TRAITS_TYPE_META_CONVERT_ER_2010_HPP
+#define BOOST_ASSIGN_V2_TRAITS_TYPE_META_CONVERT_ER_2010_HPP
#include <boost/assign/v2/ref/convert_traits/reference.hpp>
namespace boost{
+ struct use_default;
namespace assign{
namespace v2{
namespace type_traits{
@@ -31,4 +32,4 @@
}// assign
}// boost
-#endif // BOOST_ASSIGN_V2_TRAITS_TYPE_HAS_VALUE_TYPE_ER_2010_HPP
+#endif // BOOST_ASSIGN_V2_TRAITS_TYPE_META_CONVERT_ER_2010_HPP
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-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -42,7 +42,7 @@
};
-//[syntax_put_adapter_as_arg_list
+//[syntax_put_adapteras_arg_list
namespace result_of{
template<typename R>
@@ -55,7 +55,7 @@
template<typename R>
typename result_of::as_arg_list<R>::type
- _as_arg_list(R& range)/*<-*/
+ as_arg_list(R& range)/*<-*/
{
return typename result_of::as_arg_list<R>::type( range );
@@ -63,14 +63,14 @@
template<typename R>
typename result_of::as_arg_list<R const>::type
- _as_arg_list(R const& range)/*<-*/
+ as_arg_list(R const& range)/*<-*/
{
return typename result_of::as_arg_list<R const>::type( range );
}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
//]
}// put_aux
- using put_aux::_as_arg_list;
+ using put_aux::as_arg_list;
namespace result_of{
template<typename R>
Modified: sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/deque/conversion.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -10,7 +10,6 @@
#ifndef BOOST_ASSIGN_V2_PUT_DEQUE_CONVERSION_ER_2010_HPP
#define BOOST_ASSIGN_V2_PUT_DEQUE_CONVERSION_ER_2010_HPP
#include <boost/assign/v2/put/deque/fwd.hpp>
-#include <boost/assign/v2/utility/conversion/convert.hpp>
#include <boost/assign/v2/utility/conversion/converter.hpp>
namespace boost{
@@ -20,7 +19,6 @@
#define BOOST_ASSIGN_V2_SEQ (T)(F)(Tag)
#define BOOST_ASSIGN_V2_R deque_adapter<T, F, Tag>
-BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP(BOOST_ASSIGN_V2_SEQ, BOOST_ASSIGN_V2_R)
BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERTER_NAME_LOOKUP(BOOST_ASSIGN_V2_SEQ, BOOST_ASSIGN_V2_R)
#undef BOOST_ASSIGN_V2_SEQ
#undef BOOST_ASSIGN_V2_R
Modified: sandbox/assign_v2/boost/assign/v2/put/fun/modulo.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/fun/modulo.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/fun/modulo.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -90,51 +90,47 @@
#include <boost/preprocessor/cat.hpp>
-#define BOOST_ASSIGN_V2_PUT_FUN_alias(NAME, FUN)\
+#define BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE(NAME, FUN)\
namespace boost{\
namespace assign{\
namespace v2{\
namespace put_aux{\
\
template<typename T>\
- modulo_fun< FUN > BOOST_PP_CAT(_,NAME)(){ return v2::_fun = FUN(); }\
+ modulo_fun< FUN > NAME()\
+ {\
+ return ( v2::_fun = FUN() );\
+ }\
\
}\
-using put_aux::BOOST_PP_CAT(_,NAME);\
+using put_aux::NAME;\
}\
}\
}\
/**/
#include <boost/assign/v2/detail/functor/constructor.hpp>
-#define BOOST_ASSIGN_V2_fun functor_aux::constructor<T>
-BOOST_ASSIGN_V2_PUT_FUN_alias(constructor, BOOST_ASSIGN_V2_fun)
-#undef BOOST_ASSIGN_V2_fun
+BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE(constructor, v2::functor_aux::constructor<T>)
#include <boost/assign/v2/detail/functor/new.hpp>
-#define BOOST_ASSIGN_V2_fun functor_aux::new_<T>
-BOOST_ASSIGN_V2_PUT_FUN_alias(new, BOOST_ASSIGN_V2_fun)
-#undef BOOST_ASSIGN_V2_fun
+BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE(new_ptr, v2::functor_aux::new_<T>)
-#undef BOOST_ASSIGN_V2_PUT_FUN_alias
+#include <boost/typeof/typeof.hpp>
+#include <boost/type_traits/add_const.hpp>
+#define BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD(NAME, EXPR)\
+namespace boost{\
+namespace assign{\
+namespace v2{\
+ typedef BOOST_TYPEOF( ( _fun = EXPR ) ) BOOST_PP_CAT(type_of,NAME);\
+namespace{\
+\
+ boost::add_const<BOOST_PP_CAT(type_of,NAME)>::type BOOST_PP_CAT(_,NAME) = ( _fun = EXPR );\
+}\
+}\
+}\
+}\
#include <boost/lambda/lambda.hpp>
-#include <boost/typeof/typeof.hpp>
-namespace boost{
-namespace assign{
-namespace v2{
-namespace put_aux{
-
- typedef BOOST_TYPEOF( ( _fun = ::boost::lambda::_1 ) ) keyword_identity;
-
-}// put_aux
-namespace {
-
- put_aux::keyword_identity const _identity = ( _fun = ::boost::lambda::_1 );
-
-}
-}// v2
-}// assign
-}// boost
+BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD(identity, ::boost::lambda::_1)
#endif // BOOST_ASSIGN_V2_PUT_FUN_MODULO_ER_2010_HPP
Modified: sandbox/assign_v2/boost/assign/v2/ref/array/conversion.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/array/conversion.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/conversion.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -10,7 +10,6 @@
#ifndef BOOST_ASSIGN_V2_REF_ARRAY_CONVERSION_ER_2010_HPP
#define BOOST_ASSIGN_V2_REF_ARRAY_CONVERSION_ER_2010_HPP
#include <boost/assign/v2/ref/array/interface.hpp>
-#include <boost/assign/v2/utility/conversion/convert.hpp>
#include <boost/assign/v2/utility/conversion/converter.hpp>
namespace boost{
@@ -21,15 +20,11 @@
#define BOOST_ASSIGN_V2_SEQ (Impl)(D)
#define BOOST_ASSIGN_V2_R interface<Impl, D>
-BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP(BOOST_ASSIGN_V2_SEQ, BOOST_ASSIGN_V2_R)
BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERTER_NAME_LOOKUP(BOOST_ASSIGN_V2_SEQ, BOOST_ASSIGN_V2_R)
#undef BOOST_ASSIGN_V2_SEQ
#undef BOOST_ASSIGN_V2_R
}// array_aux
-
-using array_aux::convert;
-
}// ref
}// v2
}// assign
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-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -31,7 +31,7 @@
typedef typename boost::iterator_reference<It1>::type ref1_;
typedef typename boost::iterator_reference<It2>::type ref2_;
- typedef assign::v2::type_traits::meta_convert<Tag> convert_;
+ typedef v2::type_traits::meta_convert<Tag> convert_;
typedef typename ::boost::mpl::apply2<
convert_,
ref1_,
Modified: sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/conversion/convert.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -60,7 +60,7 @@
}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
}// conversion_aux
-using conversion_aux::convert;
+//using conversion_aux::convert;
namespace result_of{
template<typename /*<<Container>>*/ C, typename /*<<Range>>*/R>
@@ -69,7 +69,7 @@
}//result_of
template<typename C>
-conversion_aux::convert_adapter<C> _convert()/*<-*/
+conversion_aux::convert_adapter<C> convert()/*<-*/
{
return conversion_aux::convert_adapter<C>();
}BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
@@ -79,29 +79,6 @@
}// assign
}// boost
-#include <boost/assign/v2/utility/conversion/deduce_tag.hpp> // Do not displace
-
-#if defined( BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP_PARAM ) || defined ( BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP )
-#error
-#endif
-
-#include <boost/preprocessor/seq/enum.hpp>
-#include <boost/preprocessor/seq/transform.hpp>
-
-#define BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP_PARAM(s, data, T) typename T
-#define BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP(Seq, R)\
- template<typename C, BOOST_PP_SEQ_ENUM(\
- BOOST_PP_SEQ_TRANSFORM(\
- BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_NAME_LOOKUP_PARAM,\
- ~,\
- Seq\
- )\
- )>\
- typename ::boost::assign::v2::result_of::convert<C, R>::type \
- convert( R const& range )\
- {\
- return ::boost::assign::v2::convert<C>( range );\
- }\
-/**/
+#include <boost/assign/v2/utility/conversion/deduce_tag.hpp>
#endif // BOOST_ASSIGN_V2_UTILITY_CONVERSION_CONVERT_ER_2010_HPP
Modified: sandbox/assign_v2/boost/assign/v2/utility/conversion/converter.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/utility/conversion/converter.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/utility/conversion/converter.hpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -56,25 +56,7 @@
//->
};
- struct converter_adapter/*<-*/{}/*->*/;
-
- template<typename R>
- converter<R> operator|( R const& r, converter_adapter )/*<-*/
- {
- return converter<R>( r );
- }BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
-
}// conversion_aux
-//<-
-namespace{
-//->
-
- conversion_aux::converter_adapter const _converter/*<-*/
- = conversion_aux::converter_adapter()/*->*/;
-
-//<-
-}
-//->
namespace result_of{
template<typename R>
Modified: sandbox/assign_v2/libs/assign/v2/src/main.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/src/main.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/src/main.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -5,6 +5,7 @@
//#include <libs/assign/v2/test/mix.h>
#include <libs/assign/v2/test/put.h>
#include <libs/assign/v2/test/utility.h>
+#include <libs/assign/v2/tutorial.h>
// Speed
//#include <fstream>
@@ -50,6 +51,9 @@
xxx_ref::test();
xxx_utility::test();
}
+ {
+ tutorial_assign_v2::run();
+ }
/*
{
Modified: sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/detail/functor.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -36,50 +36,56 @@
{
typedef int e_; e_ x = -1, y = 1;
typedef boost::tuple<e_&, e_&> tuple_;
+ typedef as2::functor_aux::constructor<tuple_> constructor_;
- BOOST_ASSIGN_V2_CHECK( &get<0>( as2::constructor<tuple_>()( x, y ) ) == &x );
- BOOST_ASSIGN_V2_CHECK( &get<1>( as2::constructor<tuple_>()( x, y ) ) == &y );
+ BOOST_ASSIGN_V2_CHECK( &get<0>( constructor_()( x, y ) ) == &x );
+ BOOST_ASSIGN_V2_CHECK( &get<1>( constructor_()( x, y ) ) == &y );
}
{
typedef int e_; e_ x = -1;
{
typedef boost::tuple<e_&, e_ const&> tuple_;
+ typedef as2::functor_aux::constructor<tuple_> constructor_;
- BOOST_ASSIGN_V2_CHECK( &get<0>( as2::constructor<tuple_>()( x, 1 ) ) == &x );
- BOOST_ASSIGN_V2_CHECK( get<1>( as2::constructor<tuple_>()( x, 1 ) ) == 1 );
+ BOOST_ASSIGN_V2_CHECK( &get<0>( constructor_()( x, 1 ) ) == &x );
+ BOOST_ASSIGN_V2_CHECK( get<1>( constructor_()( x, 1 ) ) == 1 );
}
{
typedef boost::tuple< e_ const&, e_&> tuple_;
+ typedef as2::functor_aux::constructor<tuple_> constructor_;
- BOOST_ASSIGN_V2_CHECK( get<0>( as2::constructor<tuple_>()( 1, x ) ) == 1 );
- BOOST_ASSIGN_V2_CHECK( &get<1>( as2::constructor<tuple_>()( 1, x ) ) == &x );
+ BOOST_ASSIGN_V2_CHECK( get<0>( constructor_()( 1, x ) ) == 1 );
+ BOOST_ASSIGN_V2_CHECK( &get<1>( constructor_()( 1, x ) ) == &x );
}
}
{
typedef int e_; e_ x = -1, y = 0, z = 1;
typedef boost::tuple<e_&, e_&, e_&> tuple_;
+ typedef as2::functor_aux::constructor<tuple_> constructor_;
- BOOST_ASSIGN_V2_CHECK( &get<0>( as2::constructor<tuple_>()( x, y, z ) ) == &x );
- BOOST_ASSIGN_V2_CHECK( &get<1>( as2::constructor<tuple_>()( x, y, z ) ) == &y );
+ BOOST_ASSIGN_V2_CHECK( &get<0>( constructor_()( x, y, z ) ) == &x );
+ BOOST_ASSIGN_V2_CHECK( &get<1>( constructor_()( x, y, z ) ) == &y );
}
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
{
typedef int e_; int y = 0;
typedef boost::tuple<e_ const&, e_ &, e_ const&> tuple_;
+ typedef as2::functor_aux::constructor<tuple_> constructor_;
- BOOST_ASSIGN_V2_CHECK( get<0>( as2::constructor<tuple_>()( -1, y, 1 ) ) == -1 );
- BOOST_ASSIGN_V2_CHECK( &get<1>( as2::constructor<tuple_>()( -1, y, 1 ) ) == &y );
- BOOST_ASSIGN_V2_CHECK( get<2>( as2::constructor<tuple_>()( -1, y, 1 ) ) == 1 );
+ BOOST_ASSIGN_V2_CHECK( get<0>( constructor_()( -1, y, 1 ) ) == -1 );
+ BOOST_ASSIGN_V2_CHECK( &get<1>( constructor_()( -1, y, 1 ) ) == &y );
+ BOOST_ASSIGN_V2_CHECK( get<2>( constructor_()( -1, y, 1 ) ) == 1 );
}
#endif
{
typedef int e_;
typedef boost::tuple<e_ const&, e_ const&, e_ const&> tuple_;
+ typedef as2::functor_aux::constructor<tuple_> constructor_;
- BOOST_ASSIGN_V2_CHECK( get<0>( as2::constructor<tuple_>()( -1, 0, 1 ) ) == -1 );
- BOOST_ASSIGN_V2_CHECK( get<1>( as2::constructor<tuple_>()( -1, 0, 1 ) ) == 0 );
- BOOST_ASSIGN_V2_CHECK( get<2>( as2::constructor<tuple_>()( -1, 0, 1 ) ) == 1 );
+ BOOST_ASSIGN_V2_CHECK( get<0>( constructor_()( -1, 0, 1 ) ) == -1 );
+ BOOST_ASSIGN_V2_CHECK( get<1>( constructor_()( -1, 0, 1 ) ) == 0 );
+ BOOST_ASSIGN_V2_CHECK( get<2>( constructor_()( -1, 0, 1 ) ) == 1 );
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/deque.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -11,7 +11,7 @@
#include <boost/mpl/assert.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/deque/csv_deque.hpp>
#include <boost/assign/v2/put/deque/deque.hpp>
@@ -31,14 +31,14 @@
typedef as2::result_of::deque<int>::type C0;
C0 empty_cont = as2::deque<int>( as2::_nil );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ empty_cont( 72 )( 31 )( 48 ).front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ as2::deque<int>( 72 )( 31 )( 48 ).back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( empty_cont( 72 )( 31 )( 48 ).front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( as2::deque<int>( 72 )( 31 )( 48 ).back() == 48 );
typedef as2::result_of::csv_deque<int>::type C1;
C1 cont = as2::csv_deque( 72, 31, 48 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ cont.front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ as2::csv_deque( 72 )( 31 )( 48 ).back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( cont.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( as2::csv_deque( 72 )( 31 )( 48 ).back() == 48 );
BOOST_MPL_ASSERT(( is_same<C0, C1> ));
@@ -47,10 +47,10 @@
{
//[test_put_deque_str_literal
typedef std::string str_;
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/
+ BOOST_ASSIGN_V2_CHECK(
str_( as2::deque<const char*>( "x" )( "y" )( "z" )[1] ) == "y"
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/
+ BOOST_ASSIGN_V2_CHECK(
str_( as2::csv_deque( "x", "y", "z" )[1] ) == "y"
);
//]
Modified: sandbox/assign_v2/libs/assign/v2/test/put/fun.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/fun.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/fun.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -13,7 +13,7 @@
#include <vector>
#include <boost/array.hpp>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/put.hpp>
#include <boost/assign/v2/put/deque.hpp>
#include <boost/assign/v2/put/fun.hpp>
@@ -52,8 +52,8 @@
as2::put( incr ) % ( as2::_fun = f() )
)( 1 )( 2 )( 3 )( 4 )( 5 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/incr.front() == ( 2 ) );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/incr.back() == ( 6 ) );
+ BOOST_ASSIGN_V2_CHECK( incr.front() == ( 2 ) );
+ BOOST_ASSIGN_V2_CHECK( incr.back() == ( 6 ) );
// TODO fix Bug :
// LLVM 1.5 - Release mode, EXC_BAD_ACCESS, stl_vector.h #602
}
@@ -77,8 +77,8 @@
double eps = numeric::bounds<double>::smallest();
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/fabs( exponent.front() - 3.0 ) < eps );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/fabs( exponent.back() - 2.0 ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( exponent.front() - 3.0 ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( exponent.back() - 2.0 ) < eps );
//]
}
{
@@ -92,8 +92,8 @@
)/*<<Equivalent to `factorials( k *= i++ )` for [^i = 1, ..., 5]>>*/()()()()()
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/factorials.front() == ( 1 ) );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/factorials.back() == ( 120 ) );
+ BOOST_ASSIGN_V2_CHECK( factorials.front() == ( 1 ) );
+ BOOST_ASSIGN_V2_CHECK( factorials.back() == ( 120 ) );
//]
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/deduce.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/deduce.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/deduce.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -16,7 +16,7 @@
#include <vector>
#include <string>
#include <boost/array.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/type_traits/is_same.hpp>
#include <boost/ptr_container/ptr_array.hpp>
#include <boost/ptr_container/ptr_deque.hpp>
Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/iterate.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -9,7 +9,7 @@
//////////////////////////////////////////////////////////////////////////////
#include <boost/array.hpp>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/modifier/iterate.hpp>
#include <boost/assign/v2/put/put.hpp>
#include <boost/assign/v2/put/deque.hpp>
@@ -54,10 +54,10 @@
typedef int T; array<T, 4> powers; powers[0] = 1; powers[1] = 10;
int shift = 2; ( as2::put( powers ) % ( as2::_iterate = var( shift )++ ) )( 100 )( 1000 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[0] == 1 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[1] == 10 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[2] == 100 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[3] == 1000 );
+ BOOST_ASSIGN_V2_CHECK( powers[0] == 1 );
+ BOOST_ASSIGN_V2_CHECK( powers[1] == 10 );
+ BOOST_ASSIGN_V2_CHECK( powers[2] == 100 );
+ BOOST_ASSIGN_V2_CHECK( powers[3] == 1000 );
//]
}
{
@@ -84,10 +84,10 @@
( missing_tail % ( as2::_iterate = var( shift )++ ) )( 100 )( 1000 )
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[0] == 1 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[1] == 10 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[2] == 100 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[3] == 1000 );
+ BOOST_ASSIGN_V2_CHECK( powers[0] == 1 );
+ BOOST_ASSIGN_V2_CHECK( powers[1] == 10 );
+ BOOST_ASSIGN_V2_CHECK( powers[2] == 100 );
+ BOOST_ASSIGN_V2_CHECK( powers[3] == 1000 );
//]
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/lookup.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -11,7 +11,7 @@
#include <string>
#include <cmath>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/fun.hpp>
#include <boost/assign/v2/put/modifier/lookup.hpp>
#include <boost/assign/v2/put/put.hpp>
@@ -50,12 +50,12 @@
//]
}
{
- //[test_put_modifier_lookup_days_in_each_month
+ //[test_put_modifier_lookup_map
typedef std::map<std::string, int> C; C year; ( as2::put( year )( "feb", 28 )( "apr", 30 )( "jun", 30 )( "sep", 30 )( "nov", 30 )
% ( as2::_fun = _1 ) % ( as2::_lookup = ( _1 = 31 ) ) )/*<<Calls `year["jan"] = 31` etc.>>*/( "jan" )( "mar" )( "may" )( "jul" )( "aug" )( "oct" )( "dec" );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/year["jan"] == 31 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/year["dec"] == 31 );
+ BOOST_ASSIGN_V2_CHECK( year["jan"] == 31 );
+ BOOST_ASSIGN_V2_CHECK( year["dec"] == 31 );
//]
}
{
@@ -73,16 +73,16 @@
//]
}
{
- //[test_put_modifier_lookup_days_in_each_month_deque
+ //[test_put_modifier_lookup_map_deque
BOOST_AUTO(
days_in_first_quater,
(
as2::deque<int>( 31 )( 31 )( 31 ) % ( as2::_lookup = ( _1 -= 3 ) )
)( 1 )
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/days_in_first_quater[0] == 31 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/days_in_first_quater[1] == 28 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/days_in_first_quater[2] == 31 );
+ BOOST_ASSIGN_V2_CHECK( days_in_first_quater[0] == 31 );
+ BOOST_ASSIGN_V2_CHECK( days_in_first_quater[1] == 28 );
+ BOOST_ASSIGN_V2_CHECK( days_in_first_quater[2] == 31 );
//]
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/repeat.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -10,7 +10,7 @@
#include <vector>
#include <boost/typeof/typeof.hpp>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/modifier/push_front.hpp>
#include <boost/assign/v2/put/modifier/repeat.hpp>
#include <boost/assign/v2/put/put.hpp>
@@ -31,9 +31,9 @@
std::vector<int> cont;
( as2::put( cont ) % ( as2::_repeat = 2 ) )( 72 )( 31 )( 48 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/cont.size() == 6 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/cont.front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/cont.back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( cont.size() == 6 );
+ BOOST_ASSIGN_V2_CHECK( cont.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( cont.back() == 48 );
//]
}
{
@@ -43,10 +43,10 @@
as2::deque<int>( as2::_nil ) % as2::_push_front % ( as2::_repeat = 2 )
)( 72 )( 31 )( 48 )
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/boost::size( cont ) == 6 );
+ BOOST_ASSIGN_V2_CHECK( boost::size( cont ) == 6 );
//]
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/cont.front() == 48 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/cont.back() == 72 );
+ BOOST_ASSIGN_V2_CHECK( cont.front() == 48 );
+ BOOST_ASSIGN_V2_CHECK( cont.back() == 72 );
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/modifier/standard.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -13,7 +13,7 @@
#include <set>
#include <string>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/modifier/standard.hpp>
#include <boost/assign/v2/put/put.hpp>
#include <boost/assign/v2/put/deque.hpp>
@@ -64,24 +64,24 @@
// TODO abs()<eps
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/boost::lower_bound( sqrt2, 1.41 ) == boost::begin( sqrt2 ) );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/boost::upper_bound( sqrt2, 1.41421 ) == boost::end( sqrt2 ) );
+ BOOST_ASSIGN_V2_CHECK( boost::lower_bound( sqrt2, 1.41 ) == boost::begin( sqrt2 ) );
+ BOOST_ASSIGN_V2_CHECK( boost::upper_bound( sqrt2, 1.41421 ) == boost::end( sqrt2 ) );
//]
}
{
//[test_put_modifier_push
std::queue<int> fifo; ( as2::put( fifo ) % as2::_push )( 72 )( 31 )( 48 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/fifo.front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/fifo.back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( fifo.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( fifo.back() == 48 );
//]
}
{
//[test_put_modifier_insert
std::set<std::string> letters; ( as2::put( letters ) % as2::_insert )( "d" )( "a" )( "c" )( "b" );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/letters.lower_bound( "a" ) == boost::begin( letters ) );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/letters.upper_bound( "d" ) == boost::end( letters ) );
+ BOOST_ASSIGN_V2_CHECK( letters.lower_bound( "a" ) == boost::begin( letters ) );
+ BOOST_ASSIGN_V2_CHECK( letters.upper_bound( "d" ) == boost::end( letters ) );
//]
}
{
@@ -89,8 +89,8 @@
typedef int int_; std::list<int> list;
( as2::put( list ) % as2::_push_back )( 72 )( 31 )( 48 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/list.front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/list.back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( list.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( list.back() == 48 );
//]
}
// DEQUE
@@ -114,8 +114,8 @@
( as2::deque<int>( as2::_nil ) % as2::_push_front )( 16 )( 8 )( 4 )( 2 )( 1 )
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[0] == 1 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[4] == 16 );
+ BOOST_ASSIGN_V2_CHECK( powers[0] == 1 );
+ BOOST_ASSIGN_V2_CHECK( powers[4] == 16 );
//]
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/args_list.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -12,7 +12,7 @@
#include <boost/typeof/typeof.hpp>
#include <boost/assign/v2/detail/check/equal_val.hpp>
#include <boost/assign/v2/detail/check/equal_ref.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/modifier/repeat.hpp>
#include <boost/assign/v2/put/pipe/put.hpp>
#include <boost/assign/v2/utility/csv.hpp>
@@ -40,7 +40,7 @@
( ( args_list_() % ( as2::_repeat = 3 ) )( x ) )
);
int n = as2::ref::at<0>( args_list.par_list_cont() ).arg();
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/n == 3 );
+ BOOST_ASSIGN_V2_CHECK( n == 3 );
}
namespace chk = as2::check_aux;
namespace aux_ = as2::put_pipe_aux;
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/fun.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -11,7 +11,7 @@
#include <list>
#include <vector>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/deque/csv_deque.hpp>
#include <boost/assign/v2/put/fun.hpp>
#include <boost/assign/v2/put/pipe/put.hpp>
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/iterate.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -8,7 +8,7 @@
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
//////////////////////////////////////////////////////////////////////////////
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/modifier/iterate.hpp>
#include <boost/assign/v2/put/pipe/csv_put.hpp>
#include <boost/assign/v2/put/deque/csv_deque.hpp>
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -12,7 +12,7 @@
#include <boost/lambda/lambda.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/fun.hpp>
#include <boost/assign/v2/put/modifier/lookup.hpp>
#include <boost/assign/v2/put/pipe/put.hpp>
@@ -43,8 +43,8 @@
)["feb"] == 28
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/cal["jun"] == 30 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/cal["mar"] == 31 );
+ BOOST_ASSIGN_V2_CHECK( cal["jun"] == 30 );
+ BOOST_ASSIGN_V2_CHECK( cal["mar"] == 31 );
//]
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/repeat.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -9,7 +9,7 @@
//////////////////////////////////////////////////////////////////////////////
#include <vector>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/modifier/repeat.hpp>
#include <boost/assign/v2/put/pipe/put.hpp>
#include <boost/assign/v2/put/deque.hpp>
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/standard.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -16,7 +16,7 @@
#include <boost/range/begin.hpp>
#include <boost/range/iterator.hpp>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/modifier/standard.hpp>
#include <boost/assign/v2/put/pipe/csv_put.hpp>
#include <boost/assign/v2/put/pipe/put.hpp>
@@ -46,8 +46,8 @@
powers | ( as2::_csv_put % as2::_push_front )( 16, 8, 4, 2, 1 )
).front();
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/front == 1 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/powers[4] == 16 );
+ BOOST_ASSIGN_V2_CHECK( front == 1 );
+ BOOST_ASSIGN_V2_CHECK( powers[4] == 16 );
//]
}
{
@@ -56,8 +56,8 @@
fifo | ( as2::_put % as2::_push )( 72 )( 31 )( 48 )
).front();
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/front == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/fifo.back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( front == 72 );
+ BOOST_ASSIGN_V2_CHECK( fifo.back() == 48 );
//]
}
{
@@ -67,8 +67,8 @@
sqrt2 | ( as2::_put % as2::_insert )( 1.414 )( 1.41421 )( 1.41 )( 1.4142 )
).lower_bound( 1.41 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/lower == begin( sqrt2 ) );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/sqrt2.upper_bound( 1.41421 ) == end( sqrt2 ) );
+ BOOST_ASSIGN_V2_CHECK( lower == begin( sqrt2 ) );
+ BOOST_ASSIGN_V2_CHECK( sqrt2.upper_bound( 1.41421 ) == end( sqrt2 ) );
//]
}
}
Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/put.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -14,7 +14,6 @@
#include <string>
#include <boost/array.hpp>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
#include <boost/assign/v2/put/deque/csv_deque.hpp>
#include <boost/assign/v2/put/pipe/put.hpp>
#include <boost/assign/v2/put/pipe/csv_put.hpp>
@@ -33,14 +32,14 @@
{
//[test_put_pipe_put_str_literal
typedef const char* T; typedef std::string str_; std::deque<T> cont;
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/
+ BOOST_ASSIGN_V2_CHECK(
boost::range::equal(
cont | /*<<`"x"`, `"y"` and `"z"` are kept as `const char(&)[2]`>>*/as2::_csv_put( "x", "y", "z" ),
as2::csv_deque( "x" )( "y" )( "z" )
)
);
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/str_( cont[1] ) == "y" );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/str_( cont[2] ) == "z" );
+ BOOST_ASSIGN_V2_CHECK( str_( cont[1] ) == "y" );
+ BOOST_ASSIGN_V2_CHECK( str_( cont[2] ) == "z" );
//]
}
{
@@ -48,7 +47,7 @@
boost::array<int, 2> interval; boost::array<int, 6> all6;
BOOST_ASSIGN_V2_CHECK(
boost::range::equal(
- all6 | as2::_put( 1 )( 2 )( as2::_as_arg_list( interval | as2::_csv_put( 3, 4 ) ) )( 5 )( 6 ),
+ all6 | as2::_put( 1 )( 2 )( as2::as_arg_list( interval | as2::_csv_put( 3, 4 ) ) )( 5 )( 6 ),
as2::csv_deque( 1, 2, 3, 4, 5, 6 )
)
);
Modified: sandbox/assign_v2/libs/assign/v2/test/put/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/put.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -19,7 +19,7 @@
#include <string>
#include <utility>
#include <boost/assign/v2/detail/config/check.hpp>
-#include <boost/assign/v2/detail/pp/ignore.hpp>
+
#include <boost/assign/v2/put/put.hpp>
#include <boost/assign/v2/put/deque/csv_deque.hpp>
#include <boost/tuple/tuple.hpp>
@@ -52,7 +52,7 @@
for(unsigned i = 0; i < consecutive.size(); i++)
{
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ consecutive[i].to_ulong() == i );
+ BOOST_ASSIGN_V2_CHECK( consecutive[i].to_ulong() == i );
}
//]
// unsigned i else warning comparison between signed & unsigned
@@ -61,15 +61,17 @@
//[test_put_put_numeric_kb
std::vector<int> numeric( 10 ); iota( numeric, 0 ); typedef std::string str_;
typedef variant< int, str_ > data_; array<data_, 16> numeric_kb;
- as2::put( numeric_kb )/*<<Calls `numeric_kb[ i ] = data_( t )` for [^( i, t ) = ( 0, "+" ), ..., ( 5, "." )]>>*/( "+" )( "-" )( "*" )( "/" )( "=" )( "." )/*<<Calls `numeric_kb[ 6 + i ] = data_( *( b + i ) )` for [^i = 0, ..., 9] and [^b =] `boost::begin( numeric )`>>*/( as2::_as_arg_list( numeric ) );
+ as2::put( numeric_kb )
+ /*<<Calls `numeric_kb[ i ] = data_( t )` for [^( i, t ) = ( 0, "+" ), ..., ( 5, "." )]>>*/( "+" )( "-" )( "*" )( "/" )( "=" )( "." )
+ /*<<Calls `numeric_kb[ 6 + i ] = data_( *( b + i ) )` for [^i = 0, ..., 9] and [^b =] `boost::begin( numeric )`>>*/( as2::as_arg_list( numeric ) );
assert( get<str_>( numeric_kb.front() ) == "+" );
assert( get<int>( numeric_kb.back() ) == 9 );
//]
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<str_>( numeric_kb.front() ) == "+" );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<str_>( numeric_kb[ 5 ] ) == "." );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<int>( numeric_kb[ 6 ] ) == 0 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<int>( numeric_kb.back() ) == 9 );
+ BOOST_ASSIGN_V2_CHECK( get<str_>( numeric_kb.front() ) == "+" );
+ BOOST_ASSIGN_V2_CHECK( get<str_>( numeric_kb[ 5 ] ) == "." );
+ BOOST_ASSIGN_V2_CHECK( get<int>( numeric_kb[ 6 ] ) == 0 );
+ BOOST_ASSIGN_V2_CHECK( get<int>( numeric_kb.back() ) == 9 );
}
{
//[test_put_put_ragged
@@ -86,17 +88,17 @@
assert( ragged[0].size() == a.size() );
assert( ragged[3].size() == 0 );
//]
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ ragged[0].size() == a.size() );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ ragged[1].size() == b.size() );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ ragged[2].size() == 1 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ ragged[3].size() == 0 );
+ BOOST_ASSIGN_V2_CHECK( ragged[0].size() == a.size() );
+ BOOST_ASSIGN_V2_CHECK( ragged[1].size() == b.size() );
+ BOOST_ASSIGN_V2_CHECK( ragged[2].size() == 1 );
+ BOOST_ASSIGN_V2_CHECK( ragged[3].size() == 0 );
data_ eps = numeric::bounds<data_>::smallest();
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ fabs( ragged[0].front() - a.front() ) < eps );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ fabs( ragged[0].back() - a.back() ) < eps );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ fabs( ragged[1].front() - b.front() ) < eps );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ fabs( ragged[1].back() - b.back() ) < eps );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ fabs( ragged[2].front() + 99.99 ) < eps );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ fabs( ragged[2].back() + 99.99 ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( ragged[0].front() - a.front() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( ragged[0].back() - a.back() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( ragged[1].front() - b.front() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( ragged[1].back() - b.back() ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( ragged[2].front() + 99.99 ) < eps );
+ BOOST_ASSIGN_V2_CHECK( fabs( ragged[2].back() + 99.99 ) < eps );
}
{
//[test_put_put_stl
@@ -105,14 +107,14 @@
std::set<int> assoc; /*<<Calls `assoc.insert( t )` for [^t = 72, 31, 48]>>*/as2::put( assoc )( 72 )( 31 )( 48 );
std::list<int> seq; /*<<Calls `seq.push_back( t )` for [^t = 72, 31, 48]>>*/as2::put( seq )( 72 )( 31 )( 48 );
//]
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ adapter.front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ adapter.back() == 48 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ array.front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ array.back() == 48 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ assoc.count( 48 ) == 1 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ assoc.count( 72 ) == 1 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ seq.front() == 72 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ seq.back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( adapter.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( adapter.back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( array.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( array.back() == 48 );
+ BOOST_ASSIGN_V2_CHECK( assoc.count( 48 ) == 1 );
+ BOOST_ASSIGN_V2_CHECK( assoc.count( 72 ) == 1 );
+ BOOST_ASSIGN_V2_CHECK( seq.front() == 72 );
+ BOOST_ASSIGN_V2_CHECK( seq.back() == 48 );
}
{
// http://bioinfo.mbb.yale.edu/~mbg/dom/fun3/area-codes/
@@ -125,10 +127,10 @@
assert( get<0>( tri_state_area.front() ) == ny );
assert( get<1>( tri_state_area.back() ) == 203 );
//]
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<0>( tri_state_area.front() ) == ny );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<1>( tri_state_area.front() ) == 212 );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<0>( tri_state_area.back() ) == ct );
- /*<-*/BOOST_ASSIGN_V2_CHECK( BOOST_ASSIGN_V2_IGNORE(/*->*/assert( /*<-*/))/*->*/ get<1>( tri_state_area.back() ) == 203 );
+ BOOST_ASSIGN_V2_CHECK( get<0>( tri_state_area.front() ) == ny );
+ BOOST_ASSIGN_V2_CHECK( get<1>( tri_state_area.front() ) == 212 );
+ BOOST_ASSIGN_V2_CHECK( get<0>( tri_state_area.back() ) == ct );
+ BOOST_ASSIGN_V2_CHECK( get<1>( tri_state_area.back() ) == 203 );
}
}// test()
Modified: sandbox/assign_v2/libs/assign/v2/test/utility/conversion.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility/conversion.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility/conversion.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -41,7 +41,7 @@
{
//[test_utility_conversion_vec_array
std::vector<int> r( 3 ); r[0] = 72; r[1] = 31; r[2] = 48;
- typedef array<int, 3> ar_; ar_ const& ar = ( r | as2::_convert<ar_>() );
+ typedef array<int, 3> ar_; ar_ const& ar = ( r | as2::convert<ar_>() );
BOOST_ASSIGN_V2_CHECK( ar.front() == 72 );
BOOST_ASSIGN_V2_CHECK( ar.back() == 48 );
@@ -69,9 +69,9 @@
const int sz = 3; typedef array<int, sz> row_;
array<row_, sz> matrix3x3 = converter(
as2::ref::array
- ( as2::ref::csv_array( 1, 2, 3 ) | as2::_convert<row_>() )
- ( as2::ref::csv_array( 4, 5, 6 ) | as2::_convert<row_>() )
- ( as2::ref::csv_array( 7, 8, 9 ) | as2::_convert<row_>() )
+ ( as2::ref::csv_array( 1, 2, 3 ) | as2::convert<row_>() )
+ ( as2::ref::csv_array( 4, 5, 6 ) | as2::convert<row_>() )
+ ( as2::ref::csv_array( 7, 8, 9 ) | as2::convert<row_>() )
);
for(int i = 0; i < 9; i++)
{
@@ -83,7 +83,7 @@
{
//[test_utility_conversion_as2_deque_array
std::vector<int> r( 3 ); r[0] = 72; r[1] = 31; r[2] = 48;
- typedef array<int, 3> ar_; ar_ const& ar = ( as2::csv_deque( 72, 31, 48 ) | as2::_convert<ar_>() );
+ typedef array<int, 3> ar_; ar_ const& ar = ( as2::csv_deque( 72, 31, 48 ) | as2::convert<ar_>() );
BOOST_ASSIGN_V2_CHECK( ar.front() == 72 );
BOOST_ASSIGN_V2_CHECK( ar.back() == 48 );
Modified: sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/utility/csv.cpp 2011-03-15 23:13:41 EDT (Tue, 15 Mar 2011)
@@ -42,7 +42,7 @@
//]
}
{
- //[test_utility_csv_deque_modulo_
+ //[test_utility_csv_deque_modulo
BOOST_AUTO(
cont,
as2::csv( as2::deque<int>( as2::_nil ) % as2::_push_front, 72, 31, 48 )
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