BloombergLP::bslstl::Function_InvokerUtil::invokerForFunc

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);
» more...

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);
» more...

Return Value

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

Parameters

NameDescription
unusednull pointer literal selecting a null invoker
fcallable object whose invoker is requested