id summary reporter owner description type status milestone component version severity resolution keywords cc 627 program_options: format_paragraph assert fails on long line kbluck Vladimir Prus "{{{ Boost 1.33.1, MSVC 8.0 When format_paragraph() in options_description.cpp attempts to format a line that will wrap because it is > 80 chars, it causes an assert failure in the standard library string iterator's operator+=(). The offending po:: code line is options_description.cpp Line 361: if (line_begin + (line_length - indent) > par_end) ... Relevant call stack attached. My guess is that the assert is complaining that the + operation has produced an iterator past the string's end(); this code seems to be assuming that the iterator object is a pointer. I believe it is officially undefined to advance an iterator past end(). One way of getting around this might be to use std::distance instead of comparing the iterators directly. }}}" Bugs closed None None Showstopper fixed