Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68139 - in sandbox/statistics/support/boost/assign/v2: detail/keyword put/deque put/generic put/modifier/ext put/pipe ref/array ref/wrapper utility
From: erwann.rogard_at_[hidden]
Date: 2011-01-13 20:00:51


Author: e_r
Date: 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
New Revision: 68139
URL: http://svn.boost.org/trac/boost/changeset/68139

Log:
upd boost/assign/v2
Text files modified:
   sandbox/statistics/support/boost/assign/v2/detail/keyword/nil.hpp | 2
   sandbox/statistics/support/boost/assign/v2/put/deque/functor.hpp | 16 ++++++------
   sandbox/statistics/support/boost/assign/v2/put/generic/new_fun.hpp | 10 +++---
   sandbox/statistics/support/boost/assign/v2/put/modifier/ext/iterate.hpp | 29 ++++++++++-----------
   sandbox/statistics/support/boost/assign/v2/put/modifier/ext/lookup.hpp | 4 +-
   sandbox/statistics/support/boost/assign/v2/put/modifier/ext/repeat.hpp | 26 ++++++++++----------
   sandbox/statistics/support/boost/assign/v2/put/modifier/ext/xxx.hpp | 8 +++---
   sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp | 22 ++++++++--------
   sandbox/statistics/support/boost/assign/v2/ref/array/interface.hpp | 20 +++++++-------
   sandbox/statistics/support/boost/assign/v2/ref/wrapper/get.hpp | 52 ++++++++++++++++++++--------------------
   sandbox/statistics/support/boost/assign/v2/utility/sub_range.hpp | 10 +++---
   11 files changed, 99 insertions(+), 100 deletions(-)

Modified: sandbox/statistics/support/boost/assign/v2/detail/keyword/nil.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/keyword/nil.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/keyword/nil.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -15,7 +15,7 @@
 namespace v2{
 namespace keyword_aux{ struct nil{}; }
 namespace{
- const keyword_aux::nil _nil = keyword_aux::nil();
+ const keyword_aux::nil _nil = keyword_aux::nil();
 }
 }// v2
 }// assign

Modified: sandbox/statistics/support/boost/assign/v2/put/deque/functor.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/deque/functor.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/deque/functor.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -48,23 +48,23 @@
 
     template<typename T>
     typename result_of::deque<T>::type
- deque( keyword_aux::nil )
+ deque( keyword_aux::nil )
     {
             typedef typename result_of::deque<T>::type result_;
         return result_();
     }
 
 #if BOOST_ASSIGN_V2_ENABLE_CPP0X
- template<typename T, typename...Args>
- typename result_of::deque<T>::type
- deque(Args&&...args)
+ template<typename T, typename...Args>
+ typename result_of::deque<T>::type
+ deque(Args&&...args)
     {
             return deque<T>(v2::_nil)( std::forward<Args>(args)... );
     }
 #else
 
     template<typename T>
- typename result_of::deque<T>::type
+ typename result_of::deque<T>::type
     deque()
     {
         return deque<T>(v2::_nil)();
@@ -72,7 +72,7 @@
 
 #define MACRO1(r, SeqU) \
     template<typename T, BOOST_ASSIGN_V2_decl_params(SeqU)> \
- typename result_of::deque<T>::type\
+ typename result_of::deque<T>::type\
     deque( BOOST_ASSIGN_V2_decl_args(SeqU) ){ \
         return deque<T>(v2::_nil)( \
             BOOST_ASSIGN_V2_args(SeqU) \
@@ -94,14 +94,14 @@
 
 #define MACRO(z, N, data) \
     template<typename T BOOST_PP_ENUM_TRAILING_PARAMS(N, typename U)> \
- typename result_of::deque<T>::type\
+ typename result_of::deque<T>::type\
     deque( BOOST_PP_ENUM_BINARY_PARAMS(N, U, &_) ){ \
         return deque<T>(v2::_nil)( \
             BOOST_PP_ENUM_PARAMS(N, _) \
         ); \
     } \
     template<typename T BOOST_PP_ENUM_TRAILING_PARAMS(N, typename U)> \
- typename result_of::deque<T>::type\
+ typename result_of::deque<T>::type\
     deque( BOOST_PP_ENUM_BINARY_PARAMS(N, const U, &_) ){ \
         return deque<T>(v2::_nil)( \
             BOOST_PP_ENUM_PARAMS(N, _) \

Modified: sandbox/statistics/support/boost/assign/v2/put/generic/new_fun.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/generic/new_fun.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/generic/new_fun.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -29,7 +29,7 @@
         F value;
     };
     
- template<typename T,typename F1>
+ template<typename T,typename F1>
     typename boost::mpl::apply1<result_of_modulo::new_fun<T>, F1>::type
         operator%(
             T const& t,
@@ -43,13 +43,13 @@
         return result_( t.get(), h.value, t.modifier );
     }
 
- struct kwd_fun{
+ struct kwd_fun{
     
- template<typename F>
+ template<typename F>
             put_aux::new_fun<F>
- operator=(F const& f)const
+ operator=(F const& f)const
             {
- return put_aux::new_fun<F>( f );
+ return put_aux::new_fun<F>( f );
             }
 
     };

Modified: sandbox/statistics/support/boost/assign/v2/put/modifier/ext/iterate.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/modifier/ext/iterate.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/ext/iterate.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -48,39 +48,38 @@
 
         typedef std::size_t size_type;
 
- modifier() : i( 0 ){}
- explicit modifier( size_type const& i_ )
- : i( i_ )
+ modifier() : i( 0 ){}
+ explicit modifier( size_type const& i_ )
+ : i( i_ )
         {}
 
             template<typename V, typename T>
         void impl(V& v, BOOST_ASSIGN_V2_forward_param(T, t) )const
         {
- v.at( i++ ) = BOOST_ASSIGN_V2_forward_arg(T, t);
+ v.at( i++ ) = BOOST_ASSIGN_V2_forward_arg(T, t);
         }
 
             template<typename V, typename T>
         void impl(V& v, T* t)const
         {
-
- v.replace( i++ , t);
+ v.replace( i++ , t);
         }
 
         protected:
- mutable std::size_t i;
+ mutable std::size_t i;
     };
 
     template<typename Arg = boost::mpl::na>
- class iterate
+ class iterate
     {
 
- public:
+ public:
 
         typedef std::size_t size_type;
                 
         iterate():i( 0 ){}
         iterate( size_type const& i_)
- : i( i_ )
+ : i( i_ )
         {}
 
         size_type const& get()const{ return this->i; }
@@ -90,10 +89,10 @@
 
     };
 
- class iterate_keyword : public iterate<>
+ class iterate_keyword : public iterate<>
     {
 
- typedef iterate<> super_t;
+ typedef iterate<> super_t;
 
                 public:
 
@@ -101,10 +100,10 @@
 
         iterate_keyword(){}
 
- iterate<> operator=( size_type const& n_)const
+ iterate<> operator=( size_type const& n_)const
         {
- typedef iterate<> result_;
- return result_( n_ );
+ typedef iterate<> result_;
+ return result_( n_ );
         }
 
     };

Modified: sandbox/statistics/support/boost/assign/v2/put/modifier/ext/lookup.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/modifier/ext/lookup.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/ext/lookup.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -47,7 +47,7 @@
     {
 
         typedef Arg type;
- typedef boost::shared_ptr<type> ptr_;
+ typedef boost::shared_ptr<type> ptr_;
 
         modifier(){}
         explicit modifier(
@@ -71,7 +71,7 @@
 
         explicit lookup(type& arg_) : arg( arg_ ){}
 
- type& get()const{ return this->arg; }
+ type& get()const{ return this->arg; }
 
         private:
         type& arg;

Modified: sandbox/statistics/support/boost/assign/v2/put/modifier/ext/repeat.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/modifier/ext/repeat.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/ext/repeat.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -41,15 +41,15 @@
         template<typename Tag>
     class modifier<modifier_tag::repeat<Tag> >
     {
- typedef modifier<Tag> inner_;
+ typedef modifier<Tag> inner_;
 
             public:
 
         typedef std::size_t size_type;
 
- modifier() : n( 0 ){}
- explicit modifier( size_type const& n_ )
- : n( n_ )
+ modifier() : n( 0 ){}
+ explicit modifier( size_type const& n_ )
+ : n( n_ )
         {
         }
 
@@ -75,7 +75,7 @@
 
 #undef MACRO
 
- size_type const& size()const{ return this->n; }
+ size_type const& size()const{ return this->n; }
 
         protected:
         inner_ inner;
@@ -83,15 +83,15 @@
     };
 
     template<typename Arg = boost::mpl::na>
- class repeat
+ class repeat
     {
 
- public:
+ public:
 
         typedef std::size_t size_type;
 
         repeat( size_type const& n_)
- : n( n_ )
+ : n( n_ )
         {}
 
         size_type const& get()const{ return this->n; }
@@ -101,19 +101,19 @@
 
     };
 
- class repeat_keyword
+ class repeat_keyword
     {
 
- public:
+ public:
 
         typedef std::size_t size_type;
 
         repeat_keyword(){}
 
- repeat<> operator=( size_type const& n_)const
+ repeat<> operator=( size_type const& n_)const
         {
- typedef repeat<> result_;
- return result_( n_ );
+ typedef repeat<> result_;
+ return result_( n_ );
         }
 
     };

Modified: sandbox/statistics/support/boost/assign/v2/put/modifier/ext/xxx.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/modifier/ext/xxx.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/modifier/ext/xxx.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -31,10 +31,10 @@
 }\
 namespace put_aux{\
 \
- template<typename T,typename Arg>\
+ template<typename T,typename Arg>\
     typename boost::lazy_enable_if<\
- boost::is_base_of<put_aux::put_base, T>,\
- result_of_modulo::Param<T, Arg>\
+ boost::is_base_of<put_aux::put_base, T>,\
+ result_of_modulo::Param<T, Arg>\
>::type\
         operator%(\
             T const& t,\
@@ -47,7 +47,7 @@
 \
 }\
 namespace{\
- put_aux::BOOST_PP_CAT(Param,_keyword) const BOOST_PP_CAT(_,Param)\
+ put_aux::BOOST_PP_CAT(Param,_keyword) const BOOST_PP_CAT(_,Param)\
         = put_aux::BOOST_PP_CAT(Param,_keyword)();\
 }\
 /**/

Modified: sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/put/pipe/range.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -19,8 +19,8 @@
 namespace v2{
 namespace put_range_aux
 {
- template<typename From>
- class helper1 : ref::wrapper<ref::assign_tag::copy, From const>
+ template<typename From>
+ class helper1 : ref::wrapper<ref::assign_tag::copy, From const>
     {
         typedef ref::wrapper<ref::assign_tag::copy, From const> super_t;
 
@@ -34,7 +34,7 @@
         helper1();
     };
 
- struct helper2
+ struct helper2
     {
             helper2(){}
         template<typename From>
@@ -46,18 +46,18 @@
     };
 
     // This decl must come first, it seems.
- template<typename To, typename From>
- To operator|(::boost::type<To>, put_range_aux::helper1<From> const& h);
+ template<typename To, typename From>
+ To operator|(::boost::type<To>, put_range_aux::helper1<From> const& h);
 
- template<typename To,typename From>
- To& operator|(To& to, put_range_aux::helper1<From> const& h)
+ template<typename To,typename From>
+ To& operator|(To& to, put_range_aux::helper1<From> const& h)
     {
         ::boost::for_each( h.from(), put( to ) );
         return to;
     }
 
- template<typename To, typename From>
- To operator|(::boost::type<To>, put_range_aux::helper1<From> const& h)
+ template<typename To, typename From>
+ To operator|(::boost::type<To>, put_range_aux::helper1<From> const& h)
     {
                 To to;
         to | h;
@@ -66,7 +66,7 @@
 
 }// put_range_aux
 
- put_range_aux::helper2 const _put_range = put_range_aux::helper2();
+ put_range_aux::helper2 const _put_range = put_range_aux::helper2();
 
 }// v2
 }// assign
@@ -83,7 +83,7 @@
 namespace checking{
 namespace put_range{
 
- template<typename To, typename From>
+ template<typename To, typename From>
     void do_check(From const& from)
     {
             To to;

Modified: sandbox/statistics/support/boost/assign/v2/ref/array/interface.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/ref/array/interface.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/ref/array/interface.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -40,7 +40,7 @@
         typedef Impl impl_;
         typedef impl_ const cimpl_;
 
- typedef typename Impl::value_type wrapper_;
+ typedef typename Impl::value_type wrapper_;
         typedef typename boost::unwrap_reference<wrapper_>::type inner_type;
         typedef impl_ range_;
         typedef cimpl_ crange_;
@@ -51,11 +51,11 @@
         typedef typename boost::range_reference<range_>::type reference;
         typedef typename boost::range_reference<crange_>::type const_reference;
         
- typedef typename ref::result_of::get<wrapper_>::type result_of_get_;
+ typedef typename ref::result_of::get<wrapper_>::type result_of_get_;
         typedef typename boost::call_traits<inner_type>::param_type param_type;
 
         #ifndef BOOST_MSVC
- typedef typename boost::range_size<impl_>::type size_type;
+ typedef typename boost::range_size<impl_>::type size_type;
         #endif
         #ifdef BOOST_MSVC
             typedef std::size_t size_type;
@@ -73,7 +73,7 @@
         typedef typename traits_::impl_ impl_;
         typedef typename traits_::cimpl_ cimpl_;
         typedef interface<Impl, D> this_;
- typedef typename traits_::result_of_get_ result_of_get_;
+ typedef typename traits_::result_of_get_ result_of_get_;
         typedef typename traits_::param_type param_type;
 
         public:
@@ -153,14 +153,14 @@
                 this->assign_impl( val, int_() );
         }
 
- protected:
+ protected:
 
         void assign_impl(param_type val, boost::mpl::int_<static_size>)
         {
                 /* exit */
         }
 
- template<int i>
+ template<int i>
         void assign_impl(param_type val, boost::mpl::int_<i>)
         {
             this->wrappers()[i] = val;
@@ -168,13 +168,13 @@
             this->assign_impl( val, next_() );
         }
 
- template<typename W>
- reference elem_impl(W& w)
+ template<typename W>
+ reference elem_impl(W& w)
         {
                 return w; // w.get()
         }
- template<typename W>
- const_reference elem_impl(W & w)const
+ template<typename W>
+ const_reference elem_impl(W & w)const
         {
                 return w; // w.get()
         }

Modified: sandbox/statistics/support/boost/assign/v2/ref/wrapper/get.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/ref/wrapper/get.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/ref/wrapper/get.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -32,7 +32,7 @@
 
 }// result_of
 
- template<typename W>
+ template<typename W>
     typename boost::lazy_enable_if<
             boost::is_reference_wrapper<W>,
         ref::result_of::get<W>
@@ -42,9 +42,9 @@
             return w.get();
     }
 
- // Functor
+ // Functor
 
- struct get_functor
+ struct get_functor
     {
     
             template<typename S>
@@ -55,33 +55,33 @@
     
             template<typename W>
             typename boost::lazy_enable_if<
- boost::is_reference_wrapper<W>,
- ref::result_of::get<W>
+ boost::is_reference_wrapper<W>,
+ ref::result_of::get<W>
>::type
         operator()(W const& w)const
         {
- return get( w );
+ return get( w );
             }
         
     };
 
- // Range
+ // Range
 
 namespace result_of{
 
- template<typename R>
+ template<typename R>
     struct range_get_impl{
     
             typedef ref::get_functor functor_;
- typedef boost::transform_range<functor_, R> type;
+ typedef boost::range_detail::transform_range<functor_, R> type;
     
     };
 
- template<typename R>
+ template<typename R>
     struct range_get : boost::lazy_enable_if<
             boost::is_reference_wrapper<
- typename boost::range_value<
- typename boost::remove_cv<R>::type
+ typename boost::range_value<
+ typename boost::remove_cv<R>::type
>::type
>,
         range_get_impl<R>
@@ -89,37 +89,37 @@
 
 }// result_of
 
- template<typename R>
+ template<typename R>
     typename ref::result_of::range_get<R>::type
     range_get(R& r)
     {
- typedef typename ref::result_of::range_get<R>::type result_;
- return result_(get_functor(), r);
+ typedef typename ref::result_of::range_get<R>::type result_;
+ return result_(get_functor(), r);
     }
- template<typename R>
+ template<typename R>
     typename ref::result_of::range_get<R const>::type
     range_get(R const& r)
     {
- typedef typename ref::result_of::range_get<R const>::type result_;
- return result_(get_functor(), r);
+ typedef typename ref::result_of::range_get<R const>::type result_;
+ return result_(get_functor(), r);
     }
 
- struct get_adaptor{};
+ struct get_adaptor{};
     
 namespace{
- get_adaptor const _get = get_adaptor();
+ get_adaptor const _get = get_adaptor();
 }
 
- template<typename R>
+ template<typename R>
     typename ref::result_of::range_get<R>::type
- operator|(R& r, get_adaptor){
- return range_get( r );
+ operator|(R& r, get_adaptor){
+ return range_get( r );
     }
 
- template<typename R>
+ template<typename R>
     typename ref::result_of::range_get<R const>::type
- operator|(R const& r, get_adaptor){
- return range_get( r );
+ operator|(R const& r, get_adaptor){
+ return range_get( r );
     }
 
 }// ref

Modified: sandbox/statistics/support/boost/assign/v2/utility/sub_range.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/utility/sub_range.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/utility/sub_range.hpp 2011-01-13 20:00:48 EST (Thu, 13 Jan 2011)
@@ -32,19 +32,19 @@
 
 }// result_of
 
- // Use it, for example, to do comparisons:
+ // Use it, for example, to do comparisons:
     // v2::sub_range( ref::csv_array(-1, 0 ,1) ) < r;
 
- template<typename R>
- typename v2::result_of::sub_range<R>::type
+ template<typename R>
+ typename v2::result_of::sub_range<R>::type
     sub_range( R& r)
     {
             typedef typename v2::result_of::sub_range<R>::type result_;
             return result_( boost::begin( r ), boost::end( r ) );
     }
 
- template<typename R>
- typename v2::result_of::sub_range<R const>::type
+ template<typename R>
+ typename v2::result_of::sub_range<R const>::type
     sub_range( R const& r)
     {
             typedef typename v2::result_of::sub_range<R const>::type result_;


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