[Boost-bugs] [Boost C++ Libraries] #3992: Example in documentation for program_options doesn't compile

Subject: [Boost-bugs] [Boost C++ Libraries] #3992: Example in documentation for program_options doesn't compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-09 20:17:43


#3992: Example in documentation for program_options doesn't compile
--------------------------------------------------+-------------------------
 Reporter: Alexander Fokin <ru.elric@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: program_options
  Version: Boost 1.42.0 | Severity: Cosmetic
 Keywords: |
--------------------------------------------------+-------------------------
 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)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3992>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC