|
iceoryx2
C++ Language Bindings
|
Verifies whether the passed Callable type is in fact invocable with the given arguments and the result of the invocation is convertible to ReturnType. More...
#include <type_traits.hpp>
Static Public Member Functions | |
| template<typename C , typename... As> | |
| static constexpr std::true_type | test (std::enable_if_t< std::is_convertible< typename iox2::legacy::invoke_result< C, As... >::type, ReturnType >::value > *) noexcept |
| template<typename C , typename... As> | |
| static constexpr std::false_type | test (...) noexcept |
Static Public Attributes | |
| static constexpr bool | value { decltype(test<Callable, ArgTypes...>(nullptr))::value } |
Verifies whether the passed Callable type is in fact invocable with the given arguments and the result of the invocation is convertible to ReturnType.
Definition at line 89 of file type_traits.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 100 of file type_traits.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 92 of file type_traits.hpp.
|
staticconstexpr |
Definition at line 105 of file type_traits.hpp.