Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69066 - in sandbox/assign_v2: boost/assign/v2/put/pipe/functor boost/assign/v2/ref/tuple libs/assign/v2/test/put/pipe/functor
From: erwann.rogard_at_[hidden]
Date: 2011-02-19 14:48:53


Author: e_r
Date: 2011-02-19 14:48:52 EST (Sat, 19 Feb 2011)
New Revision: 69066
URL: http://svn.boost.org/trac/boost/changeset/69066

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/put/pipe/functor/rhs.hpp | 3 ++-
   sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x.hpp | 1 -
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp | 11 ++++++++++-
   3 files changed, 12 insertions(+), 3 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/put/pipe/functor/rhs.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/pipe/functor/rhs.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/pipe/functor/rhs.hpp 2011-02-19 14:48:52 EST (Sat, 19 Feb 2011)
@@ -136,7 +136,8 @@
         template<typename T>
         struct modulo_result
         {
- typedef typename modulo_traits_:: template new_pars<T>::type new_;
+ typedef typename modulo_traits_::
+ template new_pars<T>::type new_;
             typedef rhs<new_, SeqArgs> type;
         };
 

Modified: sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x.hpp 2011-02-19 14:48:52 EST (Sat, 19 Feb 2011)
@@ -115,7 +115,6 @@
     }
 
 }// ref
- using ref::get;
 }// v2
 }// assign
 }// boost

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp 2011-02-19 14:48:52 EST (Sat, 19 Feb 2011)
@@ -97,9 +97,18 @@
             BOOST_AUTO(rhs, as2::_put( "x" ) );
             typedef boost::mpl::int_<0> int_;
             typedef std::string str_;
+ // TODO find a simpler way:
+ #if BOOST_ASSIGN_V2_ENABLE_CPP0X
+ using namespace boost::assign::v2::ref;
+ #else
             using namespace boost;
+ #endif
             BOOST_ASSIGN_V2_CHECK(
- str_( get<0>( rhs.seq_args().get( int_() ) ) ) == "x"
+ str_(
+ get<0>(
+ rhs.seq_args().get( int_() )
+ )
+ ) == "x"
             );
         }
     }


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