LLVM 22.0.0git
llvm::function_traits< T, isClass > Struct Template Reference

This class provides various trait information about a callable object. More...

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::function_traits< T, isClass >:
[legend]

Detailed Description

template<typename T, bool isClass = std::is_class<T>::value>
struct llvm::function_traits< T, isClass >

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

Definition at line 67 of file STLExtras.h.


The documentation for this struct was generated from the following file: