Boost logo

Boost-Commit :

From: joel_at_[hidden]
Date: 2008-04-18 16:32:43


Author: djowel
Date: 2008-04-18 16:32:43 EDT (Fri, 18 Apr 2008)
New Revision: 44556
URL: http://svn.boost.org/trac/boost/changeset/44556

Log:
tweaks
Text files modified:
   trunk/boost/spirit/home/qi/action/action.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/qi/action/action.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/action/action.hpp (original)
+++ trunk/boost/spirit/home/qi/action/action.hpp 2008-04-18 16:32:43 EDT (Fri, 18 Apr 2008)
@@ -36,6 +36,10 @@
         static bool const_action_dispatch(
             F const& f, Attribute const& attr, Context& context)
         {
+ // This function makes Attribute a const reference
+ // before calling detail::action_dispatch whereby
+ // disallowing mutability of the attribute in semantic
+ // actions.
             return spirit::detail::action_dispatch(f, attr, context);
         }
 


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