Boost logo

Boost-Commit :

From: daniel_at_[hidden]
Date: 2008-05-08 16:04:24


Author: danielw
Date: 2008-05-08 16:04:24 EDT (Thu, 08 May 2008)
New Revision: 45226
URL: http://svn.boost.org/trac/boost/changeset/45226

Log:
Fixed #1044. ArgumentPack is now available in the return type calculation
Text files modified:
   trunk/boost/parameter/preprocessor.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/parameter/preprocessor.hpp
==============================================================================
--- trunk/boost/parameter/preprocessor.hpp (original)
+++ trunk/boost/parameter/preprocessor.hpp 2008-05-08 16:04:24 EDT (Thu, 08 May 2008)
@@ -152,7 +152,8 @@
       , typename Parameters::deduced_list
       , tag_keyword_arg
       , mpl::false_
- >::type type;
+ >::type result;
+ typedef typename mpl::first<result>::type type;
 };
 
 # if 1 //BOOST_WORKAROUND(BOOST_MSVC, < 1300)


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