Boost C++ Libraries

...one 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 to view this page for the latest version.
PrevUpHomeNext

Class required_option

boost::program_options::required_option

Synopsis

// In header: <boost/program_options/errors.hpp>


class required_option : public boost::program_options::error_with_option_name {
public:

  // public member functions
  required_option(const std::string &);
};

Description

Class thrown when a required/mandatory option is missing

required_option public member functions

  1. required_option(const std::string & option_name);

PrevUpHomeNext