Re: how to get all the attributes out of a parser

Juan Dent <[email protected]> Thu, 22 Oct 2020 18:40:38 +0000
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <PH0PR10MB458219520419C592711D3DC09B1D0@PH0PR10MB4582.namprd10.prod.outlook.com>
Thanks Larry.... I found the culprit. The documentation talks about attributes for parsers being tuples, I was trying to use boost::tuple to collect the synthesized attributes when what I needed was fusion::vector instead!

The documentation is at fault here.

Thank you for your help and also of course to Joel!

Regards,
Juan Dent

-----Original Message-----
From: Larry Evans <[email protected]> 
Sent: Thursday, October 22, 2020 12:16 PM
To: [email protected]
Subject: Re: [Spirit-general] how to get all the attributes out of a parser

On 10/22/20 1:37 AM, Joel de Guzman wrote:
> 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.
Juan,

Just in case you're not familiar with the abbreviation, MVCE, I think itss meaning is explained here:

  https://stackoverflow.com/help/minimal-reproducible-example

-Larry


_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general