Boost logo

Boost Users :

Subject: Re: [Boost-users] program_options: validation_error
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-05-27 04:18:50


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#id1421830)
> 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


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