Re: [Boost-bugs] [Boost C++ Libraries] #6248: multi_pass_iterator not flushed automatically by expectation operator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6248: multi_pass_iterator not flushed automatically by expectation operator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-15 09:40:51


#6248: multi_pass_iterator not flushed automatically by expectation operator
------------------------------------------------+---------------------------
  Reporter: Jeff Flinn <jflinn@…> | Owner: djowel
      Type: Patches | Status: new
 Milestone: Boost 1.54.0 | Component: spirit
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: multi_pass_iterator, flush_multi_pass
------------------------------------------------+---------------------------
Changes (by apolukhin):

  * type: Bugs => Patches
  * milestone: To Be Determined => Boost 1.54.0

Comment:

 `boost::spirit::lex::lexertl::iterator<Functor>` class has no functions
 specializations in traits namespace, which makes it to choose the default
 methods that do nothing (instead of calling `clear_queue`).

 Attached patch fixes it.

 P.S.: `boost::spirit::lex::lexertl::iterator<Functor>` also has no swap
 specialisation, which may lead to use of ineffective `std::swap`.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6248#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-02-16 18:50:12 UTC