Re: [Spirit Devel] [ADAPT_ADT and Karma] ADAPT_ADT causes grammars with variants to not compile in karma
"Hartmut Kaiser" <[email protected]> Fri, 10 Dec 2010 13:04:01 -0600
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <[email protected]> |
> Just as a follow up, I found a really nice solution to my problem shortly > after we had this conversation. I used the > BOOST_FUSION_ADAPT_STRUCT_MACRO with functions that return a > reference. This eliminates the proxy class, while still providing the > exact same level of abstraction as BOOST_FUSION_ADAPT_ADT as far as karma > is concerned since karma doesn't use the set functions defined in > ADAPT_ADT. Nice trick. I have not thought of that this way. Thanks! Regards Hartmut --------------- http://boost-spirit.com ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev