Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59063 - trunk/libs/spirit/example/qi
From: joel_at_[hidden]
Date: 2010-01-15 22:38:28


Author: djowel
Date: 2010-01-15 22:38:28 EST (Fri, 15 Jan 2010)
New Revision: 59063
URL: http://svn.boost.org/trac/boost/changeset/59063

Log:
tweaks by michael caisse
Text files modified:
   trunk/libs/spirit/example/qi/typeof.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/spirit/example/qi/typeof.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/typeof.cpp (original)
+++ trunk/libs/spirit/example/qi/typeof.cpp 2010-01-15 22:38:28 EST (Fri, 15 Jan 2010)
@@ -15,11 +15,11 @@
 ///////////////////////////////////////////////////////////////////////////////
 
 #define BOOST_SPIRIT_AUTO(domain_, name, expr) \
- typedef BOOST_TYPEOF(expr) name##_expr_type; \
+ typedef boost::proto::result_of:: \
+ deep_copy<BOOST_TYPEOF(expr)>::type name##_expr_type; \
     BOOST_SPIRIT_ASSERT_MATCH( \
         boost::spirit::domain_::domain, name##_expr_type); \
     BOOST_AUTO(name, boost::proto::deep_copy(expr)); \
- //
 
 int
 main()


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