Boost logo

Boost :

Subject: Re: [boost] [spirit] Support for one-pass iterators?
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-10-18 23:06:18


Andrey Semashev wrote:

> The docs say that the grammar should pass a reference to the starting
> rule to the base class constructor (qi::grammar specialization). But at
> this point the rule's constructor has not yet been called. What's more,
> the base class calls a method on the passed reference.

Where did you get that info? The base class does not call a method on
the passed reference. That is not correct. It only does so at parse
time and at that time, everything has already been constructed.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net
http://www.facebook.com/djowel
Meet me at BoostCon
http://www.boostcon.com/home
http://www.facebook.com/boostcon

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk