Boost logo

Boost Users :

Subject: [Boost-users] program_options: validation_error
From: Matwey V. Kornilov (matwey.kornilov_at_[hidden])
Date: 2010-05-27 01:52:35


Hi,

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+

This way validation_error is backward-incompatible and "Custom Validators"
(http://www.boost.org/doc/libs/1_43_0/doc/html/program_options/howto.html#id1421830)
section in html-documentations has an wrong example that uses
'validation_error(const std::string &)' signature.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net