function_ref< Ret(Params...)> Class Template Reference (original) (raw)
#include "[llvm/ADT/STLFunctionalExtras.h](STLFunctionalExtras%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| function_ref ()=default | |
| function_ref (std::nullptr_t) | |
| template | |
| 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| | |
| Ret | operator() (Params ...params) const |
| operator bool () const | |
| bool | operator== (const function_ref< Ret(Params...)> &Other) const |
template<typename Ret, typename... Params>
class llvm::function_ref< Ret(Params...)>
Definition at line 40 of file STLFunctionalExtras.h.
template<typename Ret, typename... Params>
◆ function_ref() [2/3]
template<typename Ret, typename... Params>
◆ function_ref() [3/3]
template<typename Ret, typename... Params>
template
| llvm::function_ref< Ret(Params...)>::function_ref ( Callable &&callable LLVM_LIFETIME_BOUND, std::enable_if_t<!std::is_same< remove_cvref_t< Callable >, function_ref< Ret(Params...)> >::value > * = nullptr, std::enable_if_t< std::is_void< Ret >::value||std::is_convertible< decltype(std::declval< Callable >()(std::declval< Params >()...)), Ret >::value , * = nullptr ) | inline | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------ |
◆ operator bool()
template<typename Ret, typename... Params>
◆ operator()()
template<typename Ret, typename... Params>
◆ operator==()
template<typename Ret, typename... Params>
The documentation for this class was generated from the following file:
- include/llvm/ADT/STLFunctionalExtras.h