#include <function_ref.hh>
|
constexpr | function_ref () noexcept=delete |
|
template<typename F , std::enable_if_t<!std::is_same_v< std::decay_t< F >, function_ref > &&std::is_invocable_r_v< R, F &&, Args... > > * = nullptr> |
constexpr | function_ref (F &&f) noexcept |
|
template<typename F , std::enable_if_t< std::is_invocable_r_v< R, F &&, Args... > > * = nullptr> |
constexpr function_ref & | operator= (F &&f) noexcept |
|
constexpr R | operator() (Args... args) const |
|
template<typename R, typename... Args>
class function_ref< R(Args...)>
Definition at line 27 of file function_ref.hh.
◆ function_ref() [1/2]
template<typename R , typename... Args>
◆ function_ref() [2/2]
template<typename R , typename... Args>
template<typename
F , std::enable_if_t<!std::is_same_v< std::decay_t<
F >,
function_ref > &&std::is_invocable_r_v< R,
F &&, Args... > > * = nullptr>
◆ operator()()
template<typename R , typename... Args>
constexpr R function_ref< R(Args...)>::operator() |
( |
Args... |
args | ) |
const |
|
inlineconstexpr |
◆ operator=()
template<typename R , typename... Args>
template<typename
F , std::enable_if_t< std::is_invocable_r_v< R,
F &&, Args... > > * = nullptr>
The documentation for this class was generated from the following file: