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, 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 | |
Definition at line 39 of file STLFunctionalExtras.h.
|
default |
|
inline |
Definition at line 51 of file STLFunctionalExtras.h.
|
inline |
Definition at line 54 of file STLFunctionalExtras.h.
|
inlineexplicit |
Definition at line 71 of file STLFunctionalExtras.h.
|
inline |
Definition at line 67 of file STLFunctionalExtras.h.