$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r81235 - trunk/boost/smart_ptr/detail
From: glenfe_at_[hidden]
Date: 2012-11-07 10:36:16
Author: glenfe
Date: 2012-11-07 10:36:15 EST (Wed, 07 Nov 2012)
New Revision: 81235
URL: http://svn.boost.org/trac/boost/changeset/81235
Log:
Fix array_helper (create_noinit and use of args...).
Text files modified: 
   trunk/boost/smart_ptr/detail/array_helper.hpp |     8 ++++----                                
   1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/smart_ptr/detail/array_helper.hpp
==============================================================================
--- trunk/boost/smart_ptr/detail/array_helper.hpp	(original)
+++ trunk/boost/smart_ptr/detail/array_helper.hpp	2012-11-07 10:36:15 EST (Wed, 07 Nov 2012)
@@ -40,8 +40,8 @@
                 array_helper<T>::create(value[N-1]);
             }
             static void create_noinit(T value[N]) {
-                array_helper<T[N-1]>::create_noinit(value, args);
-                array_helper<T>::create_noinit(value[N-1], args);
+                array_helper<T[N-1]>::create_noinit(value);
+                array_helper<T>::create_noinit(value[N-1]);
             }
             static void destroy(T value[N]) {
                 array_helper<T>::destroy(value[N-1]);
@@ -50,8 +50,8 @@
 #if defined(BOOST_HAS_VARIADIC_TMPL) && defined(BOOST_HAS_RVALUE_REFS)
             template<typename... Args>
             static void create(T value[N], Args... args) {
-                array_helper<T[N-1]>::create(value, args);
-                array_helper<T>::create(value[N-1], args);
+                array_helper<T[N-1]>::create(value, args...);
+                array_helper<T>::create(value[N-1], args...);
             }
 #endif
         };