Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69067 - sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor
From: erwann.rogard_at_[hidden]
Date: 2011-02-19 15:26:42


Author: e_r
Date: 2011-02-19 15:26:41 EST (Sat, 19 Feb 2011)
New Revision: 69067
URL: http://svn.boost.org/trac/boost/changeset/69067

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/functor/rhs.cpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

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 15:26:41 EST (Sat, 19 Feb 2011)
@@ -26,8 +26,11 @@
     void xxx_assert(T& rhs, P const& pred, U const& u)
     {
         // TODO name lookup?
+ #if BOOST_ASSIGN_V2_ENABLE_CPP0X
+ using namespace boost::assign::v2::ref; // tuple (cpp0x)
+ #else
         using namespace boost; // tuple<> (cpp03)
- using namespace boost::assign::v2; // tuple (cpp0x)
+ #endif
         pred(
             get<j>(
                 rhs.seq_args().get( boost::mpl::int_<i>() )


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