Template Struct detector
Defined in File detector.hpp
Struct Documentation
-
template<class TFailType, class AlwaysVoid, template<class...> class TFuncDecltype, class ...Args>
struct detector If the specified function
TFuncDecltype
taking the specifiedArgs
is not well formed, then SFINAE and partial template specialization will select this template, indicating unsuccessful detection.If the specified function
TFuncDecltype
taking the specifiedArgs
is well formed, then SFINAE and partial template specialization will select this template, indicating successful detection.- Template Parameters:
TFailType – The default type to select upon unsuccessful detection.
TFuncDecltype – The decltype() of the function to detect.
Args – The types of the arguments to the function to detect.
TFailType – The default type to select upon unsuccessful detection. Unused in this version of the detector.
TFuncDecltype – The decltype() of the function to detect.
Args – The types of the arguments to the function to detect.