Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2004-05-27 00:31:25

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
answers this question.


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at