#3992 closed Bugs (fixed)
Example in documentation for program_options doesn't compile
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | program_options |
Version: | Boost 1.42.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
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 by , 12 years ago
comment:2 by , 12 years ago
There is a typo in [67028] ("valodation_error" instead of "validation_error").
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [67028]) update docs; refs #3992