BloombergLP::bslstl::SharedPtr_TestIsCallable::test

Overload selected when FUNCTOR is callable with ARG.

Synopsis

Declared in <bslstl_sharedptr.h>

template<class ARG>
static
TrueType
test(bsl::enable_if<static_cast<bool>(sizeof ((static_cast<void>(Util::declval<FUNCTOR>()(Util::declval<ARG>())) , 0)))>::type* dummy);

Return Value

TrueType indicating the functor is callable with ARG

Parameters

NameDescription
dummyunused SFINAE discriminator