[#BloombergLP-bslstl-Function_InvokerUtil_IsFuncInvocable-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Function_InvokerUtil_IsFuncInvocable :relfileprefix: ../../ :mrdocs: forward declaration == Synopsis Declared in `<bslstl_function_invokerutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class PROTOTYPE, class FUNC> struct Function_InvokerUtil_IsFuncInvocable; ---- == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Function_InvokerUtil_IsFuncInvocable-0e.adoc[`Function_InvokerUtil_IsFuncInvocable<RET(ARGS...), FUNC>`] | This `struct` template implements a Boolean metafunction that publicly inherits from `bsl::true_type` if an object of the specified `FUNC` type is invocable with the specified `RET` and `ARGS...`, and publicly inherits from `bsl::false_type` otherwise. An object of `FUNC` type is invocable with `RET` and `ARGS...` if it is Lvalue‐Callable with arguments having the types of the `ARGS...`, and returns an object of type explicitly convertible to `RET`. If `RET` is `void`, then any type is considered explicitly convertible to `RET`. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Function_InvokerUtil/IsFuncInvocable.adoc[`IsFuncInvocable`] | This `struct` template implements a Boolean metafunction that publicly inherits from `bsl::true_type` if an object of the specified `FUNC` type is invocable under the specified `PROTOTYPE`, and publicly inherits from `bsl::false_type` otherwise. An object of `FUNC` type is invocable under the `PROTOTYPE` if it is Lvalue‐Callable with the arguments of the `PROTOTYPE` (as forwarded by the facilities of 'bslmf_forwardingtype), and returns an object of type explicitly convertible to the return type of the `PROTOTYPE`. If the return type of the `PROTOTYPE` is `void`, then any type is considered explicitly convertible to the return type of the `PROTOTYPE`. This `struct` template requires `PROTOTYPE` to be an unqualified function type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#