Re: [Spirit Devel] [ADAPT_ADT and Karma] ADAPT_ADT causes grammars with variants to not compile in karma

Robert Nelson <[email protected]> Sat, 20 Nov 2010 17:37:46 -0700
Newsgroups gmane.comp.parsers.spirit.devel
Message-ID <[email protected]>
Thanks for the quick reply and the workaround!  While ADAPT_ADT is still
very useful, Proxy types seem problematic and unavoidably don't work in
certain situations.  Do you think there would be interest in an ADAPT_REF
macro?  It would be similar to ADAPT_ADT, but would provide two get
functions that returned a const and non-const reference instead of a getter
and a setter.  It wouldn't be quite as versatile as ADAPT_ADT, but would
work with spirit just as well as ADAPT_STRUCT, while still providing some
level of data abstraction.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev

_______________________________________________
Spirit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-devel