Modify

Ticket #3992 (closed Bugs: fixed)

Opened 4 years ago

Last modified 3 years ago

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:

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)

Attachments

Change History

comment:1 Changed 3 years ago by marshall

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

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

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

comment:3 Changed 3 years ago by marshall

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:4 Changed 3 years ago by marshall

Sigh. Fixed typo on trunk and release.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.