Re: [Boost-bugs] [Boost C++ Libraries] #4077: for-loop condition operator < does not work

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4077: for-loop condition operator < does not work
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-08 14:40:36


#4077: for-loop condition operator < does not work
--------------------------------------------------+-------------------------
  Reporter: Elmar Teitge <elmar.teitge@…> | Owner: jsiek
      Type: Bugs | Status: closed
 Milestone: Boost 1.43.0 | Component: tokenizer
   Version: Boost 1.42.0 | Severity: Problem
Resolution: invalid | Keywords: tokenizer loop condition
--------------------------------------------------+-------------------------
Changes (by cornedbee):

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

Comment:

 Tokenizer's iterators are not random access iterators, therefore < does
 not work. Use !=, which is idiomatic for iterator loops.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4077#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:02 UTC