X3: How to write generic rules
Mike Gresens <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, lets say you have: user_rule = ... user_rule_def = ... group_rule = ... group_rule_def = ... BOOST_SPIRIT_DEFINE(user_rule, group_rule) Now you want to make a generic list_of_rule: list_of_rule = ??? MAGIC ??? So you can use it later: users_rule_def = list_of_rule<user_rule> groups_rule_def = list_of_rule<groups_rule> How to do that? Thanks, Mike... -- View this message in context: http://boost.2283326.n4.nabble.com/X3-How-to-write-generic-rules-tp4682990.html Sent from the spirit-general mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140