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

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


#4077: for-loop condition operator < does not work
-------------------------------------------------+--------------------------
 Reporter: Elmar Teitge <elmar.teitge@…> | Owner: jsiek
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: tokenizer
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: tokenizer loop condition |
-------------------------------------------------+--------------------------
 I have tried to use tokenizer in my prefered form with the less than
 operator in the loop condition.

 looks like this:

 for (tokenizer::iterator tok_iter = tokens.begin();
 tok_iter < tokens.end(); tok_iter ++)
      vInVector.push_back( *tok_iter );

 I got an compiler error on visual studio 7.1 with the details of
 iterator_facade implementation.
 I think, this code example is valid and this bug should be fixed.

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