Callable overload set composed from one or more callables.

Synopsis

Declared in <bdlf_overloaded.h>

template<class... TS>
struct Overloaded
    : Overloaded_Wrapper<TS>::Type...

Description

Overloaded is a structure that holds a series of objects that have an operator(), and provides the ability to call one of them determined by the parameters that are passed to the operator.

Base Classes

Name

Description

Overloaded_Wrapper<TS>::Type...

Using Declarations

Name

Description

operator()

Import base class operator() overloads into this type.

Deduction Guides

Name

Description

Overloaded<TS...>

Deduce the Overloaded template arguments from the types of the callables used to initialize it.

Created with MrDocs