[#BloombergLP-bslmf-IsFunctionPointer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::IsFunctionPointer :relfileprefix: ../../ :mrdocs: Meta‐function to determine if a type is a free function pointer. == Synopsis Declared in `<bslmf_functionpointertraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_PROTOTYPE> struct IsFunctionPointer : xref:bsl/integral_constant-02.adoc[bsl::integral_constant<bool, FunctionPointerTraits<t_PROTOTYPE>::IS_FUNCTION_POINTER>] ---- == Description This template determines if the specified `t_PROTOTYPE` is a free (i.e., non‐member) function pointer. `value` is defined as 1 if the specified `t_PROTOTYPE` is a function pointer type, and a zero value otherwise. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:bsl/integral_constant-02.adoc[bsl::integral_constant<bool, FunctionPointerTraits<t_PROTOTYPE>::IS_FUNCTION_POINTER>]` | Metafunction representing a compile‐time constant of the specified (template parameter) `t_TYPE` with the specified (template parameter) `t_VALUE`. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/integral_constant-02/type.adoc[`type`] | Alias for this `integral_constant` specialization. | xref:bsl/integral_constant-02/value_type.adoc[`value_type`] | Alias for the (template parameter) `t_TYPE`. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/integral_constant-02/operator_call.adoc[`operator()`] | Return a copy of the template argument `t_VALUE`. | xref:bsl/integral_constant-02/2conversion.adoc[`operator t_TYPE`] | Return a copy of the template argument `t_VALUE`. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:bsl/integral_constant-02/value.adoc[`value`] | The compile‐time constant value of this metafunction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#