Boost logo

Boost Users :

From: Peter Gerell (boost_at_[hidden])
Date: 2006-02-28 07:29:53


Hi,
I have filed the following bug in the SF tracker.

In format_paragraph the following code appears:

string::const_iterator line_begin = par.begin();

<snip>

string::const_iterator last_space =
  find(reverse_iterator<string::const_iterator>(line_end - 1),
        reverse_iterator<string::const_iterator>(line_begin - 1),
        ' ')
  .base();

This generates a run-time assertion if compiled with
VC8 and debug/checked iterators.

/Peter


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net