Re: how to get all the attributes out of a parser
Joel de Guzman <[email protected]> Thu, 22 Oct 2020 14:37:40 +0800
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 10/22/20 1:47 am, Juan Dent wrote:
> I am trying to use a boost::tuple to retrieve the attributes of a parser. See this snippet
> of code:
You'd have better success if you make that into an MVCE. But that said, here's what I can
suggest instead: Try using the code form the tests as starting points:
https://github.com/boostorg/spirit/blob/develop/test/qi/sequential_or.cpp
I suspect that you did not include the boost tuple adapters form fusion. But there's no
way to know without a proper MVCE.
I suggest using Boost Fusion instead.
Regards,
--
Joel