Re: [Boost-bugs] [Boost C++ Libraries] #4425: qi::action ignores phoenix actor return value

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4425: qi::action ignores phoenix actor return value
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-14 09:25:10


#4425: qi::action ignores phoenix actor return value
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: djowel
      Type: Feature Requests | Status: new
 Milestone: Boost 1.44.0 | Component: spirit
   Version: Boost 1.44.0 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by djowel):

 This is not necessary. If you want an actor to be able to fail a parse,
 just give it the pass argument by using the placeholder _pass. See
 http://tinyurl.com/3xrfcsd. Example: p[_pass = false] will always fail
 parsing.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4425#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC