Re: [Boost-bugs] [Boost C++ Libraries] #3486: local_time::posix_time_zone_base::calc_zone Misuses String Iterator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3486: local_time::posix_time_zone_base::calc_zone Misuses String Iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-24 21:03:37


#3486: local_time::posix_time_zone_base::calc_zone Misuses String Iterator
--------------------------------------------------+-------------------------
 Reporter: Rob Stewart <robert.stewart@…> | Owner: az_sw_dude
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: date_time
  Version: Boost 1.34.0 | Severity: Showstopper
 Keywords: calc_zone iterator |
--------------------------------------------------+-------------------------

Comment(by Rob Stewart <robert.stewart@…>):

 Wow! Trac really munged the code I entered and I forgot to s/send/end/ in
 the suggested change.

 Later releases (I happened to have looked at the code from 1.33 when I
 copied the above) already do the equivalent of eit (obj_end). However,
 the bug remains, so here's the change needed for the trunk:

    while (it != obj_end && std::isalpha(*it)) {
      ss << *it++;
    }

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