Re: [Boost-bugs] [Boost C++ Libraries] #12208: Lexer does not work with boost::spirit::istream_iterator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12208: Lexer does not work with boost::spirit::istream_iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-26 21:20:40


#12208: Lexer does not work with boost::spirit::istream_iterator
-------------------------------+----------------------------
  Reporter: edaskel@… | Owner: Hartmut Kaiser
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: wave
   Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by edaskel@…):

 So the issue is basically
 [https://github.com/boostorg/wave/blob/develop/include/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp#L129
 here]. We take the address of the first element of the input and assume
 the rest is lined up in memory behind it. I'm looking at solutions - the
 most obvious is to make a copy, but Wave already makes one copy of the
 input and I'm not convinced even that should be necessary.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/12208#comment:1>
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-10-26 21:26:59 UTC