$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r69199 - sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch
From: cppljevans_at_[hidden]
Date: 2011-02-22 21:57:21
Author: cppljevans
Date: 2011-02-22 21:57:18 EST (Tue, 22 Feb 2011)
New Revision: 69199
URL: http://svn.boost.org/trac/boost/changeset/69199
Log:
correct error about typename used outside template.
Text files modified: 
   sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/replace_source_with_target_ptr.hpp |    23 ++++++++++-------------                 
   1 files changed, 10 insertions(+), 13 deletions(-)
Modified: sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/replace_source_with_target_ptr.hpp
==============================================================================
--- sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/replace_source_with_target_ptr.hpp	(original)
+++ sandbox/variadic_templates/boost/composite_storage/pack/multiple_dispatch/replace_source_with_target_ptr.hpp	2011-02-22 21:57:18 EST (Tue, 22 Feb 2011)
@@ -74,7 +74,8 @@
         ptr_type
       my_ptrs[size]
         ;
-    #define VOID_PTR_ARRAY_NO_INIT_LIST defined(__clang__)
+    //#define VOID_PTR_ARRAY_NO_INIT_LIST defined(__clang__)
+    #define VOID_PTR_ARRAY_NO_INIT_LIST 1
     #if VOID_PTR_ARRAY_NO_INIT_LIST
         template
         < typename... Refs
@@ -288,12 +289,10 @@
    *  one that contains no Target pointers.
    */
   {
-       ptrs_target_source
-       < mpl::package
-         <
-         >
-       , ArgsSource...
-       >
+         typename
+       ptrs_target0_source
+       < ArgsSource...
+       >::type
      result_args
        ( a_args...
        )
@@ -301,7 +300,7 @@
      return result_args;
   }   
 
-  typename ptrs_target0_source
+  ptrs_target0_source
   <
   >::type
 mk_ptrs_source
@@ -313,11 +312,9 @@
    *  one that contains no Target pointers.
    */
   {
-       ptrs_target_source
-       < mpl::package
-         <
-         >
-       >
+       ptrs_target0_source
+       <
+       >::type
      result_args
        ;
      return result_args;