[program_options]Iterator decremented past begin of container
28 Feb
2006
28 Feb
'06
12:29 p.m.
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
28 Feb
28 Feb
12:39 p.m.
New subject: [program_options]Iterator decremented past begin ofcontainer
I just realized that this is already fixed in CVS. Thanks, Peter
6779
Age (days ago)
6779
Last active (days ago)
1 comments
1 participants
participants (1)
-
Peter Gerell