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 ambiguous_option

boost::program_options::ambiguous_option —

Synopsis

class ambiguous_option : public boost::program_options::error {
public:
  // construct/copy/destruct
  ambiguous_option(const std::string &, const std::vector< std::string > &);
  ~ambiguous_option();

  // public member functions

  std::vector< std::string > alternatives;
};

Description

Class thrown when there's ambiguity amoung several possible options.

ambiguous_option construct/copy/destruct

  1. ambiguous_option(const std::string & name, 
                     const std::vector< std::string > & alternatives);
  2. ~ambiguous_option();

ambiguous_option public member functions

    Copyright © 2002-2004 Vladimir Prus

    PrevUpHomeNext