Subject: [Boost-bugs] [Boost C++ Libraries] #6402: boost::spirit::lazy( *X ) does not have same semantics as *X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-16 10:51:29
#6402: boost::spirit::lazy( *X ) does not have same semantics as *X
-------------------------------+--------------------------------------------
Reporter: sairony@⦠| Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.46.1 | Severity: Problem
Keywords: |
-------------------------------+--------------------------------------------
I use a very dynamic parser where I need to inherit & parse attributes
using the Nabialek trick. As the Nabialek trick sadly seems to require
pointer to rules for efficiency lazy must be used to deffer the derefence.
However, if the rule is lets say rule< Iterator, void( T& ) >, then it
would seem it's impossible to pass T& to the rule as lazy() doesn't
provide the same semantics as rule< Iterator, void( T& ) >.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6402> 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:08 UTC