[#BloombergLP-bslmf-ResultType_BdeIdiom-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/ResultType_BdeIdiom-0d.adoc[ResultType&lowbar;BdeIdiom]&lt;t&lowbar;FUNC, t&lowbar;FALLBACK, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;t&lowbar;FUNC::ResultType&gt;]&gt;
:relfileprefix: ../../
:mrdocs:

Metafunction to detect the BDE `ResultType` idiom as part of the implementation of `bslmf&colon;&colon;ResultType`&period; This specialization is instantiated by `ResultType` only if `t&lowbar;FUNC&colon;&colon;result&lowbar;type` does not exist and `t&lowbar;FUNC&colon;&colon;ResultType` does exist&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;FUNC,
    class t&lowbar;FALLBACK&gt;
struct xref:BloombergLP/bslmf/ResultType_BdeIdiom-0d.adoc[ResultType&lowbar;BdeIdiom]&lt;t&lowbar;FUNC, t&lowbar;FALLBACK, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;t&lowbar;FUNC::ResultType&gt;]&gt;;
----

== Type Aliases

[cols="1"]
|===
| Name
| xref:BloombergLP/bslmf/ResultType_BdeIdiom-00/type.adoc[`type`] 
|===



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