
27 May
2004
27 May
'04
5:31 a.m.
Thorsten Ottosen wrote:
Hi,
I've been using spirit for some config-file parsing. I have some questions:
1. why can we not copy a rule<> ?
You can use a stored_rule to do what you want.
2. if we shouldn't copy a rule, why is copying not disabled? It has been a source of errors in my code that I forgot & on my return value.
I believe http://www.boost.org/libs/spirit/doc/stored_rule.html answers this question. Cheers, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net