Opened 12 years ago

Closed 12 years ago

#4267 closed Bugs (duplicate)

validation_error documentation

Reported by: matwey.kornilov@… Owned by: Vladimir Prus
Milestone: Component: program_options
Version: Boost 1.43.0 Severity: Cosmetic
Keywords: Cc:

Description

validation_error constructor signature was changed from

validation_error(const std::string &);

in boost 1.41.0

to

validation_error(kind_t, const std::string & = "", const std::string & = "");

in boost 1.42.0+

validation_error isn't backward compatible now. This way "Custom Validators" section in html-documentations has an wrong example that uses 'validation_error(const std::string &)' signature. And there aren't any examples to use new version of validation_error.

http://www.boost.org/doc/libs/1_43_0/doc/html/program_options/howto.html#id1421830

Change History (1)

comment:1 by Marshall Clow, 12 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #3992.

Note: See TracTickets for help on using tickets.