Typedef rcppsw::mpl::is_detected
Defined in File mpl.hpp
Typedef Documentation
-
typedef typename detail::detector<no_such_trait, void, TFuncDecltype, Args...>::value rcppsw::mpl::is_detected
Type trait to detect whether a function taking the specified
Argsexists for the specified type. Suitable for use in SFINAE.- Template Parameters:
TFuncDecltype – Should be a decltype(), something like
decltype(std::declval<T>().foo())to detect the presence of a function namedfoo()for a typeT.Args – The argument types for the function to detect (if any).