LLVM 20.0.0git
|
#include "llvm/ADT/STLFunctionalExtras.h"
Public Member Functions | |
function_ref ()=default | |
function_ref (std::nullptr_t) | |
template<typename Callable > | |
function_ref (Callable &&callable LLVM_LIFETIME_BOUND, std::enable_if_t<!std::is_same< remove_cvref_t< Callable >, function_ref >::value > *=nullptr, std::enable_if_t< std::is_void< Ret >::value||std::is_convertible< decltype(std::declval< Callable >()(std::declval< Params >()...)), Ret >::value > *=nullptr) | |
Ret | operator() (Params ...params) const |
operator bool () const | |
bool | operator== (const function_ref< Ret(Params...)> &Other) const |
Definition at line 40 of file STLFunctionalExtras.h.
|
default |
|
inline |
Definition at line 52 of file STLFunctionalExtras.h.
|
inline |
Definition at line 55 of file STLFunctionalExtras.h.
|
inlineexplicit |
Definition at line 72 of file STLFunctionalExtras.h.
|
inline |
Definition at line 68 of file STLFunctionalExtras.h.
|
inline |
Definition at line 74 of file STLFunctionalExtras.h.
References llvm::Other.