Namespace for looking up an invoker for a given callable type.

Synopsis

Declared in <bslstl_function_invokerutil.h>

struct Function_InvokerUtil;

Description

This struct is a namespace containing a single function template, invokerForFunc, that returns a pointer to a function that is used to invoke a callable object of a particular type.

Types

Name

Description

IsFuncInvocable

Boolean metafunction for invocability of FUNC under PROTOTYPE.

Type Aliases

Name

Description

GenericInvoker

Generic function pointer. This type is as close as we can get to void * for function pointers.

Enums

Name

Description

Unnamed enum

Enumeration of the different types of callable objects.

Static Member Functions

Name

Description

invokerForFunc

invokerForFunc overloads

throwBadFunctionCall [noreturn]

Throw bsl::bad_function_call, or abort if exceptions are disabled.

Created with MrDocs