Re: [Spirit Devel] [ADAPT_ADT and Karma] ADAPT_ADT causes grammars with variants to not compile in karma
Joel de Guzman <[email protected]> Sun, 12 Dec 2010 17:46:57 +0800
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/11/10 3:04 AM, Hartmut Kaiser wrote: > >> 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. Cool! Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net ------------------------------------------------------------------------------ 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