Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-04-06 15:54:35

Bugs item #1178068, was opened at 2005-04-06 23:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: date_time
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrey Melnikov (nimnul)
Assigned to: Jeff Garland (az_sw_dude)
Summary: Past-the-end tokenization in parse_date()

Initial Comment:
Loop termination condition is wrong. Comma is used
instead of and operator:

      for(boost::tokenizer<>::iterator beg=tok.begin();
beg!=tok.end(), pos < spec_str.size(); ++beg, ++pos)

Should read as

      for(boost::tokenizer<>::iterator beg=tok.begin();
beg!=tok.end() && pos < spec_str.size(); ++beg, ++pos)


You can respond by visiting:

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at