Metafunction that selects the appropriate wrapper type for a callable.

Synopsis

Declared in <bdlf_overloaded.h>

template<class TYPE>
struct Overloaded_Wrapper;

Type Aliases

Name

Description

Type

The (possibly wrapped) callable type.

Specializations

Name

Description

Overloaded_Wrapper<RET(*)(ARGS...) noexcept>

Metafunction specialization that wraps a free function pointer.

Overloaded_Wrapper<RET const(OBJ::*)(ARGS...) noexcept>

Metafunction specialization that wraps a member function pointer.

Created with MrDocs