struct function_traits
Declaration
template <typename T,
bool isClass =
std::is_class<type - parameter - 0 - 0>::value>
struct function_traits { /* full declaration omitted */ };
Description
This class provides various trait information about a callable object. * To access the number of arguments: Traits::num_args * To access the type of an argument: Traits::arg_t <Index > * To access the type of the result: Traits::result_t
Declared at: llvm/include/llvm/ADT/STLExtras.h:114
Templates
- T
- bool isClass = std::is_class<type-parameter-0-0>::value