Subject: Re: [boost] [spirit] Support for one-pass iterators?
From: Christian Schladetsch (christian.schladetsch_at_[hidden])
Date: 2009-10-19 09:51:43
On Tue, Oct 20, 2009 at 2:46 AM, Andrey Semashev
> Christian Schladetsch wrote:
>>> start_type const& start
>>> , std::string const& name_ = "unnamed-grammar")
>>> => : proto::extends<terminal, base_type>(terminal::make(start.alias()))
>>> , name_(name_)
>>> Here "start" is a reference to a not yet constructed object.
> Care to elaborate?
Sure, but this is basic C++. Before the ctor to grammar(...) is invoked, the
arguments to it have been evaluated. This requires construction of its
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk