Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69749 - sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp03
From: erwann.rogard_at_[hidden]
Date: 2011-03-08 22:25:31


Author: e_r
Date: 2011-03-08 22:25:30 EST (Tue, 08 Mar 2011)
New Revision: 69749
URL: http://svn.boost.org/trac/boost/changeset/69749

Log:
upd assign_v2
Added:
   sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp03/as_arg_list.hpp (contents, props changed)
Removed:
   sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp03/as_arglist.hpp

Added: sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp03/as_arg_list.hpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp03/as_arg_list.hpp 2011-03-08 22:25:30 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,46 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to the //
+// 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_REF_TUPLE_CPP03_AS_ARG_LIST_ER_2010_HPP
+#define BOOST_ASSIGN_V2_REF_TUPLE_CPP03_AS_ARG_LIST_ER_2010_HPP
+#include <boost/preprocessor/repetition.hpp>
+#include <boost/preprocessor/arithmetic/inc.hpp>
+#include <boost/tuple/tuple.hpp>
+#include <boost/assign/v2/detail/config/limit_arity.hpp>
+
+namespace boost{
+namespace assign{
+namespace v2{
+namespace ref{
+
+#define BOOST_ASSIGN_V2_MACRO1(z, I, data) ::boost::get<I>( data )
+#define BOOST_ASSIGN_V2_MACRO(z, N, data)\
+ template<typename F BOOST_PP_ENUM_TRAILING_PARAMS(N, typename T)>\
+ void as_arg_list(\
+ F const& f,\
+ ::boost::tuples::tuple<BOOST_PP_ENUM_PARAMS(N, T)> const& t\
+ )\
+ {\
+ f( BOOST_PP_ENUM(N, BOOST_ASSIGN_V2_MACRO1, t) );\
+ }\
+/**/
+BOOST_PP_REPEAT(
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_ARITY),
+ BOOST_ASSIGN_V2_MACRO,
+ ~
+)
+#undef BOOST_ASSIGN_V2_MACRO1
+#undef BOOST_ASSIGN_V2_MACRO
+
+}// ref
+}// v2
+}// assign
+}// boost
+
+#endif // BOOST_ASSIGN_V2_REF_TUPLE_CPP03_AS_ARG_LIST_ER_2010_HPP

Deleted: sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp03/as_arglist.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp03/as_arglist.hpp 2011-03-08 22:25:30 EST (Tue, 08 Mar 2011)
+++ (empty file)
@@ -1 +0,0 @@
-// TODO remove file
\ No newline at end of file


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