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

`test` overloads

== Synopses

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

SFINAE probe selecting when the functor is callable with `ARG`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ARG&gt;
static
xref:BloombergLP/bslstl/SharedPtr_TestIsCallable.adoc[FalseType]
xref:BloombergLP/bslstl/SharedPtr_TestIsCallable/test-08.adoc[test](&period;&period;&period;);
----

[.small]#xref:BloombergLP/bslstl/SharedPtr_TestIsCallable/test-08.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ARG&gt;
static
xref:BloombergLP/bslstl/SharedPtr_TestIsCallable.adoc[TrueType]
xref:BloombergLP/bslstl/SharedPtr_TestIsCallable/test-0b.adoc[test](xref:bsl/enable_if-07.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]* dummy);
----

[.small]#xref:BloombergLP/bslstl/SharedPtr_TestIsCallable/test-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

* `FalseType` indicating the functor is not callable with `ARG`
* `TrueType` indicating the functor is callable with `ARG`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dummy*
| unused SFINAE discriminator
|===


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