invokerForFunc overloads

Synopses

Declared in <bslstl_function_invokerutil.h>

Return a null pointer. Note that template argument PROTOTYPE must be supplied excplicitly, as there is no way to deduce it from the function arguments.

template<class PROTOTYPE>
static
bslstl::Function_InvokerUtil::GenericInvoker*
invokerForFunc(bsl::nullptr_t const& unused);

Return the invoker for FUNC, or null if f is a null callable.

template<
    class PROTOTYPE,
    class FUNC>
static
bslstl::Function_InvokerUtil::GenericInvoker*
invokerForFunc(FUNC const& f);

Return Value

  • null pointer

  • invoker for FUNC, or null if f is a null callable

Parameters

Name

Description

unused

null pointer literal selecting a null invoker

f

callable object whose invoker is requested

Created with MrDocs