From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-05-27 05:21:06


Hartmut wrote:
| Thorsten Ottosen wrote:
|

| What am I overlooking? Why
| > do we need the current copy/assignment semantics?
|
| That's to allow to write:
|
| rule<> a = /* some spirit parser here */;
| rule<> b = a;
|
| Which is needed (or at least handy) in some parser contexts.

ok, I guess I just have to start using a typedef:

typdef rule<>& rule_type;
rule_type foo();

br

Thorsten