Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Class validation_error

boost::program_options::validation_error —


class validation_error : public boost::program_options::error {
// construct/copy/destruct
validation_error(const std::string &);

// public member functions
void set_option_name(const std::string &) ;

// private member functions
const char * what() const;


Class thrown when value of option is incorrect.

validation_error construct/copy/destruct

  1. validation_error(const std::string & what);
  2. ~validation_error();

validation_error public member functions

  1. void set_option_name(const std::string & option) ;

validation_error private member functions

  1. const char * what() const;
Copyright 2002-2004 Vladimir Prus