Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71792 - sandbox/assign_v2/boost/assign/v2/interpreter/cpp03
From: erwann.rogard_at_[hidden]
Date: 2011-05-07 17:27:19


Author: e_r
Date: 2011-05-07 17:27:18 EDT (Sat, 07 May 2011)
New Revision: 71792
URL: http://svn.boost.org/trac/boost/changeset/71792

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp | 15 ++++++++++-----
   1 files changed, 10 insertions(+), 5 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp 2011-05-07 17:27:18 EDT (Sat, 07 May 2011)
@@ -27,9 +27,9 @@
     )/*<-*/
     {
     }BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
-
+
     template<
- typename D, typename C, typename F, typename MTag, typename DTag,
+ typename D, typename C, typename F, typename MTag, typename DTag,
         typename R
>
     void invoke(
@@ -41,10 +41,15 @@
     }BOOST_ASSIGN_V2_IGNORE(/*->*/;/*<-*/)/*->*/
 
     template<
- typename D, typename C, typename F, typename MTag, typename DTag,
+ typename D, typename C, typename F, typename MTag, typename DTag,
         typename T
>
- void invoke(
+ typename boost::disable_if<
+ is_as_arg_list_adapter<
+ typename boost::remove_cv<T>::type
+ >
+ >::type
+ invoke(
         interpreter_crtp<D, C, F, MTag, DTag> const& interpreter,
         T& t
     )/*<-*/
@@ -74,7 +79,7 @@
 /**/
 
 BOOST_PP_REPEAT_FROM_TO(
- 1,
+ 1,
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),
     BOOST_ASSIGN_V2_MACRO,
     0


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