Subject: [Boost-bugs] [Boost C++ Libraries] #6043: Spirit insists that user types are adapted to Fusion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-20 16:41:05
#6043: Spirit insists that user types are adapted to Fusion
------------------------------+---------------------------------------------
Reporter: vladimir_prus | Owner:
Type: Patches | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
I've played with Spirit for the first time, and arrived at the attached
example. Basically, I want to create Foo instances from pairs of numbers.
This example does not compile unless Foo is adapted to fusion. I don't
think this is a good idea, because from the point of view of user, the
parser should create instances of Foo, and it's not really clear why
parser should iterate over existing instances -- which is what it is
trying to do.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6043> 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:07 UTC