class multiple_occurrences

Declaration

class multiple_occurrences : public error_with_option_name { /* full declaration omitted */ };

Description

Class thrown when there are several occurrences of an option, but user called a method which cannot return them all.

Declared at: libs/pika/program_options/include/pika/program_options/errors.hpp:221

Inherits from: error_with_option_name

Member Variables

Inherited from error_with_option_name:

protected m_option_style
protected m_substitutions
protected m_substitution_defaults
public m_error_template
protected m_message

Method Overview

Inherited from error_with_option_name:

Inherited from error:

    Methods

    multiple_occurrences()

    Declared at: libs/pika/program_options/include/pika/program_options/errors.hpp:225

    ~multiple_occurrences() noexcept

    Description

    gcc says that throw specification on dtor is loosened without this line

    Declared at: libs/pika/program_options/include/pika/program_options/errors.hpp:231