LLVM  5.0.0
Public Member Functions | List of all members
llvm::function_ref< Ret(Params...)> Class Template Reference

#include "llvm/ADT/STLExtras.h"

Public Member Functions

 function_ref ()
 
template<typename Callable >
 function_ref (Callable &&callable, typename std::enable_if< !std::is_same< typename std::remove_reference< Callable >::type, function_ref >::value >::type *=nullptr)
 
Ret operator() (Params...params) const
 
 operator bool () const
 

Detailed Description

template<typename Ret, typename... Params>
class llvm::function_ref< Ret(Params...)>

Definition at line 92 of file STLExtras.h.

Constructor & Destructor Documentation

template<typename Ret , typename... Params>
llvm::function_ref< Ret(Params...)>::function_ref ( )
inline

Definition at line 103 of file STLExtras.h.

template<typename Ret , typename... Params>
template<typename Callable >
llvm::function_ref< Ret(Params...)>::function_ref ( Callable &&  callable,
typename std::enable_if< !std::is_same< typename std::remove_reference< Callable >::type, function_ref< Ret(Params...)> >::value >::type *  = nullptr 
)
inline

Definition at line 106 of file STLExtras.h.

Member Function Documentation

template<typename Ret , typename... Params>
llvm::function_ref< Ret(Params...)>::operator bool ( ) const
inline

Definition at line 116 of file STLExtras.h.

template<typename Ret , typename... Params>
Ret llvm::function_ref< Ret(Params...)>::operator() ( Params...  params) const
inline

Definition at line 112 of file STLExtras.h.


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