$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r69748 - sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x
From: erwann.rogard_at_[hidden]
Date: 2011-03-08 22:24:50
Author: e_r
Date: 2011-03-08 22:24:49 EST (Tue, 08 Mar 2011)
New Revision: 69748
URL: http://svn.boost.org/trac/boost/changeset/69748
Log:
upd assign_v2
Added:
   sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x/as_arg_list.hpp   (contents, props changed)
Removed:
   sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x/as_arglist.hpp
Added: sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x/as_arg_list.hpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x/as_arg_list.hpp	2011-03-08 22:24:49 EST (Tue, 08 Mar 2011)
@@ -0,0 +1,53 @@
+//////////////////////////////////////////////////////////////////////////////
+//  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_CPP0X_AS_ARG_LIST_ER_2010_HPP
+#define BOOST_ASSIGN_V2_REF_TUPLE_CPP0X_AS_ARG_LIST_ER_2010_HPP
+#include <boost/assign/v2/ref/tuple/cpp0x/data.hpp>
+#include <boost/assign/v2/temporary/variadic_args_to_indices.hpp>
+
+namespace boost{
+namespace assign{
+namespace v2{
+namespace ref{
+namespace tuple_aux{
+
+    // --- Implementation --- //
+
+    template<typename F, typename T, typename I, I ...Values>
+    void as_arg_list_helper(
+        F const& f,
+        T const& t,
+        ::boost::mpl::er2010::indices<I, Values...>
+    )
+    {
+        f( ref::get<Values>( t )... );
+    }
+
+    template<typename F, typename ...Args>
+    void as_arg_list(
+        F const& f,
+        data<Args...> const& t
+    )
+    {
+        typedef typename ::boost::mpl::er2010::args_to_indices<
+            int,
+            Args...
+        >::type indices_;
+        as_arg_list_helper( f, t, indices_() );
+    }
+
+}// tuple_aux
+using tuple_aux::as_arg_list;
+}// ref
+}// v2
+}// assign
+}// boost
+
+#endif // BOOST_ASSIGN_V2_REF_TUPLE_CPP0X_AS_ARG_LIST_ER_2010_HPP
Deleted: sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x/as_arglist.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/tuple/cpp0x/as_arglist.hpp	2011-03-08 22:24:49 EST (Tue, 08 Mar 2011)
+++ (empty file)
@@ -1 +0,0 @@
-// TODO remove file
\ No newline at end of file