$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r63787 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2010-07-09 15:01:53
Author: hkaiser
Date: 2010-07-09 15:01:52 EDT (Fri, 09 Jul 2010)
New Revision: 63787
URL: http://svn.boost.org/trac/boost/changeset/63787
Log:
Spirit: Fixing regression in Karma caused by a semantic change in proto
Text files modified: 
   trunk/boost/spirit/home/support/meta_compiler.hpp |     4 +++-                                    
   1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/support/meta_compiler.hpp
==============================================================================
--- trunk/boost/spirit/home/support/meta_compiler.hpp	(original)
+++ trunk/boost/spirit/home/support/meta_compiler.hpp	2010-07-09 15:01:52 EDT (Fri, 09 Jul 2010)
@@ -21,6 +21,7 @@
 #include <boost/spirit/home/support/unused.hpp>
 #include <boost/spirit/home/support/assert_msg.hpp>
 #include <boost/utility/enable_if.hpp>
+#include <boost/type_traits/remove_reference.hpp>
 
 namespace boost { namespace spirit
 {
@@ -217,7 +218,8 @@
         template <typename Domain, typename Expr>
         struct matches :
             proto::matches<
-                typename proto::result_of::as_expr<Expr>::type,
+                typename proto::result_of::as_expr<
+                    typename remove_reference<Expr>::type>::type,
                 typename meta_compiler<Domain>::meta_grammar
             >
         {