LLVM  14.0.0git
Public Types | List of all members
llvm::function_traits< ReturnType(ClassType::*)(Args...) const, false > Struct Template Reference

Overload for class function types. More...

#include "llvm/ADT/STLExtras.h"

Public Types

enum  { num_args = sizeof...(Args) }
 The number of arguments to this function. More...
 
using result_t = ReturnType
 The result type of this function. More...
 
template<size_t Index>
using arg_t = typename std::tuple_element< Index, std::tuple< Args... > >::type
 The type of an argument to this function. More...
 

Detailed Description

template<typename ClassType, typename ReturnType, typename... Args>
struct llvm::function_traits< ReturnType(ClassType::*)(Args...) const, false >

Overload for class function types.

Definition at line 114 of file STLExtras.h.

Member Typedef Documentation

◆ arg_t

template<typename ClassType , typename ReturnType , typename... Args>
template<size_t Index>
using llvm::function_traits< ReturnType(ClassType::*)(Args...) const, false >::arg_t = typename std::tuple_element<Index, std::tuple<Args...> >::type

The type of an argument to this function.

Definition at line 123 of file STLExtras.h.

◆ result_t

template<typename ClassType , typename ReturnType , typename... Args>
using llvm::function_traits< ReturnType(ClassType::*)(Args...) const, false >::result_t = ReturnType

The result type of this function.

Definition at line 119 of file STLExtras.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename ClassType , typename ReturnType , typename... Args>
anonymous enum

The number of arguments to this function.

Enumerator
num_args 

Definition at line 116 of file STLExtras.h.


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