Quantcast

struct, derived struct, fusion-adapted and the sequence operator

12 messages Options
struct, derived struct, fusion-adapted and the sequence operator – Hi, I have a base struct { type1 f1; type2 f2; } adapted as a fusion sequence. A rule to parse this struct is straight forward (like th...
On 01/04/2012 12:14 AM, MM wrote: > Is there a way to get there? Yeah sure, just avoid 'casting' (assigning using the fusion adaptation) to ...
On 01/04/2012 12:36 AM, Seth Heeren wrote: > On 01/04/2012 12:14 AM, MM wrote: >> Is there a way to get there? > Yeah sure, just av...
From: Seth Heeren [mailto:bugs@...] Sent: 04 January 2012 00:31 To: Spirit General Mailing List Subject: Re: [Spirit-general] struct, derived ...
On 01/04/2012 01:13 PM, MM wrote: > In fact, I don't really need a rule for base struct itself, it's just that > base's fields are common ...
On 01/04/2012 01:34 PM, Seth Heeren wrote: > Precisely what the default synthesized attribute type looks like for > your parser expression...
From: Seth Heeren [mailto:bugs@...] Sent: 04 January 2012 12:34 To: Spirit General Mailing List Subject: Re: [Spirit-general] struct, derived ...
On 01/04/2012 02:08 PM, MM wrote: > but then: > > the attribute of base_parser is fusion::vector<int,int> > and that of int_...
From: Seth Heeren [mailto:bugs@...] Sent: 04 January 2012 13:46 To: Spirit General Mailing List Subject: Re: [Spirit-general] struct, derived ...
On 01/04/2012 03:34 PM, MM wrote: > Did I already say it's been suggested to add a flatten[] directive to > spirit? > > I'll ask h...
-----Original Message----- From: Seth Heeren [mailto:bugs@...] Sent: 04 January 2012 15:22 To: Spirit General Mailing List Subject: Re: [Spir...
On 1/4/2012 11:21 PM, Seth Heeren wrote: > Conversely, we could hack a BOOST_FUSION_ADAPT_DERIVED_STRUCT that takes > care of some of th...
Loading...