program_options bug

26 Feb
2008
26 Feb
'08
4:59 p.m.
I've found the following bug in program_options: When printing the options syntax, if it doesn't fit in one line, the library crashes. Here is a minimal reproduction: options_description opts; opts.add_options()("option", "A very long description. A very long description. A very long description. A very long description. A very long description."); cout << opts; I work on XP professional x64 SP1 and use Boost 1.33.1
6328
Age (days ago)
6328
Last active (days ago)
1 comments
2 participants
participants (2)
-
Lev Borovoi
-
Vladimir Prus