From: Joel de Guzman (joel_at_[hidden])
Date: 2004-05-27 00:31:25
Thorsten Ottosen wrote:
> 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.
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk