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 for the latest Boost documentation.
PrevUpHomeNext

Class error

boost::program_options::error

Synopsis

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


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

Description

Base class for all errors in the library.

error public construct/copy/destruct

  1. error(const std::string & what);

PrevUpHomeNext