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
- public multiple_occurrences()
- public ~multiple_occurrences() noexcept
Inherited from error_with_option_name:
- public add_context
- protected get_canonical_option_name
- protected get_canonical_option_prefix
- public get_option_name
- protected replace_token
- public set_option_name
- public set_original_token
- public set_prefix
- public set_substitute
- public set_substitute_default
- protected substitute_placeholders
- public what
Inherited from error:
Methods
multiple_occurrences()
multiple_occurrences()Declared at: libs/pika/program_options/include/pika/program_options/errors.hpp:225
~multiple_occurrences() noexcept
~multiple_occurrences() noexceptDescription
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