Boost logo

Boost :

From: Lev Borovoi (Lev_at_[hidden])
Date: 2008-02-26 11:59:31


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

 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk