[#BloombergLP-bslstl-SharedPtr_TestIsCallable-test-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtr_TestIsCallable.adoc[SharedPtr&lowbar;TestIsCallable]::test
:relfileprefix: ../../../
:mrdocs:

Overload selected when `FUNCTOR` is callable with `ARG`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;sharedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ARG&gt;
static
xref:BloombergLP/bslstl/SharedPtr_TestIsCallable.adoc[TrueType]
test(xref:bsl/enable_if-0b/type.adoc[bsl::enable&lowbar;if&lt;static&lowbar;cast&lt;bool&gt;(sizeof ((static&lowbar;cast&lt;void&gt;(Util&colon;&colon;declval&lt;FUNCTOR&gt;()(Util&colon;&colon;declval&lt;ARG&gt;())) , 0)))&gt;::type]*);
----


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