test overloads
Declared in <bslstl_sharedptr.h>
SFINAE probe selecting when the functor is callable with ARG.
template<class ARG>
static
FalseType
test(...);
» more...
Overload selected when FUNCTOR is callable with ARG.
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);
» more...
FalseType indicating the functor is not callable with ARGTrueType indicating the functor is callable with ARG| Name | Description |
|---|---|
| dummy | unused SFINAE discriminator |