program_options: validation_error

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#id1...) section in html-documentations has an wrong example that uses 'validation_error(const std::string &)' signature.

Matwey V. Kornilov wrote:
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#id1...) section in html-documentations has an wrong example that uses 'validation_error(const std::string &)' signature.
Could you file a bug at http://svn.boost.org please? - Volodya

Vladimir Prus wrote:
Could you file a bug at http://svn.boost.org please?
participants (2)
-
Matwey V. Kornilov
-
Vladimir Prus