Lines Matching refs:function_ref
81 class function_ref; variable
84 class function_ref<Ret(Args...)> final {
86 constexpr function_ref() noexcept = delete;
87 constexpr function_ref(const function_ref& other) noexcept = default;
88 constexpr function_ref& operator=(const function_ref&) noexcept = default;
92 !std::is_same_v<function_ref, std::remove_reference_t<Callable>>>>
93 function_ref(Callable&& c) noexcept in function_ref() function
94 : mTypeErasedFunction([](const function_ref* self, Args... args) -> Ret { in function_ref()
104 !std::is_same_v<function_ref, std::remove_reference_t<Callable>>>>
105 function_ref& operator=(Callable&& c) noexcept {
106 mTypeErasedFunction = [](const function_ref* self, Args... args) -> Ret {
121 using TypeErasedFunc = Ret(const function_ref*, Args...);