19 Nov
2004
19 Nov
'04
1:09 a.m.
Richard Hadsell wrote:
Jeffrey Holle wrote:
Its because the State object is held by reference. The const parameter forces the grammar object to be stateless. This is by design.
(I'm new to this, too.) If the grammar object is stateless, how was I able to add a closure to it? Or is it just the base class (grammar) part of it that has to be stateless?
I almost missed this thread. I'd suggest you continue this thread in Spirit's mailing list: Spirit-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spirit-general It's the proper venue. Thanks, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net