[#BloombergLP-bslmf-InvokeResult_MemFuncPtrImpDispatch-071]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-076.adoc[InvokeResult&lowbar;MemFuncPtrImpDispatch]&lt;bslmf::VoidType&lt;decltype((InvokeResult&lowbar;ImpUtils&colon;&colon;myDeclval&lt;t&lowbar;ARG1TYPE&gt;()&period;get()&period;&ast;
                  InvokeResult&lowbar;ImpUtils&colon;&colon;myDeclval&lt;t&lowbar;FN&gt;())(
                    InvokeResult&lowbar;ImpUtils&colon;&colon;myDeclval&lt;t&lowbar;ARGTYPES&gt;()&period;&period;&period;))&gt;::type, false, true, t&lowbar;FN, t&lowbar;ARG1TYPE, t&lowbar;ARGTYPES&period;&period;&period;&gt;
:relfileprefix: ../../
:mrdocs:

`invoke&lowbar;result` for `(arg1&period;get()&period;&ast;fn)(args&period;&period;&period;)`&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;invokeresult&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;FN,
    class t&lowbar;ARG1TYPE,
    class&period;&period;&period; t&lowbar;ARGTYPES&gt;
struct xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-076.adoc[InvokeResult&lowbar;MemFuncPtrImpDispatch]&lt;bslmf::VoidType&lt;decltype((InvokeResult&lowbar;ImpUtils&colon;&colon;myDeclval&lt;t&lowbar;ARG1TYPE&gt;()&period;get()&period;&ast;
                  InvokeResult&lowbar;ImpUtils&colon;&colon;myDeclval&lt;t&lowbar;FN&gt;())(
                    InvokeResult&lowbar;ImpUtils&colon;&colon;myDeclval&lt;t&lowbar;ARGTYPES&gt;()&period;&period;&period;))&gt;::type, false, true, t&lowbar;FN, t&lowbar;ARG1TYPE, t&lowbar;ARGTYPES&period;&period;&period;&gt;
    : &sol;&ast; implementation-defined &ast;&sol;
----

== Description

Implementation of `invoke&lowbar;result&lt;t&lowbar;FN, t&lowbar;ARGTYPES&period;&period;&period;&gt;`&period; This specialization is instantiated in C&plus;&plus;11 and later when `t&lowbar;FN` is a pointer&hyphen;to&hyphen;member&hyphen;function type, `t&lowbar;ARG1TYPE` is a specialization of `bsl&colon;&colon;reference&lowbar;wrapper`, and the `INVOKE(fn, arg1, args&period;&period;&period;)` expression is well&hyphen;formed given `fn` is an object of the specified `t&lowbar;FN` type and `arg1, args&period;&period;&period;` are objects of the specified `t&lowbar;ARG1TYPE, t&lowbar;ARGTYPES&period;&period;&period;` types&period; The `INVOKE(fn, arg1, args&period;&period;&period;)` expression in this case is `(arg1&period;get()&period;&ast;fn)(args&period;&period;&period;)`&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `&sol;&ast; implementation-defined &ast;&sol;`
| Utility metaprogramming functions inherited by other metaprogramming classes&period;
|===

== Types

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/AnyLvalue.adoc[`AnyLvalue`] 
| Type convertible from any lvalue type&period; Used for overload resolution in metafunctions&period;
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/AnyRvalue.adoc[`AnyRvalue`] 
| Type convertible from any rvalue type&period; Used for overload resolution in metafunctions&period;
|===


== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/type.adoc[`type`] 
| `INVOKE` result type for `(arg1&period;get()&period;&ast;fn)(args&period;&period;&period;)`&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/checkConst-04.adoc[`checkConst`] 
| `checkConst` overloads
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/checkLvalue-01.adoc[`checkLvalue`] 
| `checkLvalue` overloads
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/checkVolatile-09.adoc[`checkVolatile`] 
| `checkVolatile` overloads
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/myDeclval.adoc[`myDeclval`] 
| Return a `declval` reference for unevaluated metaprogramming&period;
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/uncv-08.adoc[`uncv`] 
| `uncv` overloads
| xref:BloombergLP/bslmf/InvokeResult_MemFuncPtrImpDispatch-071/unpoint-0eb.adoc[`unpoint`] 
| `unpoint` overloads
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
