BloombergLP::bdlf::Overloaded

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

NameDescription
Overloaded_Wrapper<TS>::Type...

Using Declarations

NameDescription
operator() Import base class operator() overloads into this type.

Deduction Guides

NameDescription
Overloaded<TS...> Deduce the Overloaded template arguments from the types of the callables used to initialize it.