Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#3992 closed Bugs (fixed)

Example in documentation for program_options doesn't compile

Reported by: Alexander Fokin <ru.elric@…> Owned by: Vladimir Prus
Milestone: Boost 1.43.0 Component: program_options
Version: Boost 1.42.0 Severity: Cosmetic
Keywords: Cc:


Example in "Custom Validators" section of documentation for boost_program options must be changed to reflect the changes made in 1.42. More precisely, the following line of the example causes compilation error:

throw validation_error("invalid value");

I suppose it must be changed to something like:

throw invalid_option_value(s)

Change History (4)

comment:1 Changed 8 years ago by Marshall Clow

(In [67028]) update docs; refs #3992

comment:2 Changed 8 years ago by ru.elric@…

There is a typo in [67028] ("valodation_error" instead of "validation_error").

comment:3 Changed 8 years ago by Marshall Clow

Resolution: fixed
Status: newclosed

(In [67034]) Merge doc patches to release; fixes #3992, fixes #4858

comment:4 Changed 8 years ago by Marshall Clow

Sigh. Fixed typo on trunk and release.

Note: See TracTickets for help on using tickets.