struct int_range_closure :
public boost::spirit::closure< int_range_closure, uint32_t, uint32_t >
{
member1 lower_bound;
member2 upper_bound;
};
// and the rule is declared as:
boost::spirit::rule<ScannerT, int_range_closure::context_t> int_range;
But the rule does not compile; it complains because of use of
closure member.
Furthermore, I do not want to leave it up to the semantic actions
to check B >= A (for various reasons which will ultimately lead me
to posting new questions).
Ideas of why this doesn't work or how to make it work?