Re: [Boost-bugs] [Boost C++ Libraries] #3818: is_parser char_parser yet doesn't have operator[]

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3818: is_parser char_parser yet doesn't have operator[]
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-05 03:34:33


#3818: is_parser char_parser yet doesn't have operator[]
----------------------------------------+-----------------------------------
  Reporter: cppljevans@… | Owner: djowel
      Type: Bugs | Status: closed
 Milestone: Boost 1.42.0 | Component: spirit
   Version: Boost 1.41.0 | Severity: Problem
Resolution: wontfix | Keywords:
----------------------------------------+-----------------------------------
Changes (by anonymous):

  * status: new => closed
  * resolution: => wontfix

Comment:

 See Hartmut's reply on this:

 No. The operator[] is implemented by proto and the Spirit meta-compiler
 transforms this into an semantic action. If you are using a function to
 return parts of the parser (proto-)expression, this function needs to
 return
 something which is meta-compilable into a parser. Look at the attr_cast
 implementation for an example.

 I will close this one as nothing needs to be fixed. If you have an issue
 with this, the Spirit list is the proper venue to discuss it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3818#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC