Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85004 - trunk/boost/multi_index/detail
From: joaquin_at_[hidden]
Date: 2013-07-11 11:03:39


Author: joaquin
Date: 2013-07-11 11:03:39 EDT (Thu, 11 Jul 2013)
New Revision: 85004
URL: http://svn.boost.org/trac/boost/changeset/85004

Log:
fixed typos in usage of variadic templates

Text files modified:
   trunk/boost/multi_index/detail/vartempl_support.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/multi_index/detail/vartempl_support.hpp
==============================================================================
--- trunk/boost/multi_index/detail/vartempl_support.hpp Thu Jul 11 10:55:24 2013 (r85003)
+++ trunk/boost/multi_index/detail/vartempl_support.hpp 2013-07-11 11:03:39 EDT (Thu, 11 Jul 2013) (r85004)
@@ -206,14 +206,14 @@
 
 #define BOOST_MULTI_INDEX_TEMPLATE_PARAM_PACK typename... Args
 #define BOOST_MULTI_INDEX_FUNCTION_PARAM_PACK Args&&... args
-#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK std::forward(Args)...
+#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK std::forward<Args>(args)...
 #define BOOST_MULTI_INDEX_NULL_PARAM_PACK
 
 #define BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL( \
   ret,name_from,name_to) \
 template<typename... Args> ret name_from(Args&&... args) \
 { \
- return name_to(std::forward(Args)...); \
+ return name_to(std::forward<Args>(args)...); \
 }
 
 #define BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL_EXTRA_ARG( \
@@ -221,7 +221,7 @@
 template<typename... Args> ret name_from( \
   extra_arg_type extra_arg_name,Args&&... args) \
 { \
- return name_to(extra_arg_name,std::forward(Args)...); \
+ return name_to(extra_arg_name,std::forward<Args>(args)...); \
 }
 
 namespace boost{


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