#include <GREM/core/data/FunctionView.hpp>
|
template<typename FreeFunction>
requires (!std::is_same_v<std::remove_cvref_t<FreeFunction>, FunctionView> && detail::invocable_r<FreeFunction, Ret, Args...> && detail::function_pointer_convertible<FreeFunction, Ret, Args...>) |
| GREM_ALWAYS_INLINE constexpr | FunctionView (FreeFunction &&function) noexcept |
template<typename Functor>
requires (!std::is_same_v<std::remove_cvref_t<Functor>, FunctionView> && detail::invocable_r<Functor, Ret, Args...> && !detail::function_pointer_convertible<Functor, Ret, Args...>) |
| GREM_ALWAYS_INLINE constexpr | FunctionView (Functor &&functor) noexcept |
| constexpr | ~FunctionView ()=default |
| constexpr | FunctionView (const FunctionView &)=default |
| constexpr | FunctionView (FunctionView &&) noexcept=default |
| constexpr FunctionView & | operator= (const FunctionView &)=default |
| constexpr FunctionView & | operator= (FunctionView &&) noexcept=default |
| GREM_ALWAYS_INLINE constexpr decltype(auto) | operator() (Args... args) const noexcept(noexcept(dispatcher(data, std::forward< Args >(args)...))) |
| GREM_ALWAYS_INLINE constexpr bool | operator== (const FunctionView &other) const |
◆ FunctionView() [1/4]
template<typename Ret, typename... Args>
template<typename FreeFunction>
requires (!std::is_same_v<std::remove_cvref_t<FreeFunction>, FunctionView> && detail::invocable_r<FreeFunction, Ret, Args...> && detail::function_pointer_convertible<FreeFunction, Ret, Args...>)
◆ FunctionView() [2/4]
template<typename Ret, typename... Args>
template<typename Functor>
requires (!std::is_same_v<std::remove_cvref_t<Functor>, FunctionView> && detail::invocable_r<Functor, Ret, Args...> && !detail::function_pointer_convertible<Functor, Ret, Args...>)
◆ ~FunctionView()
template<typename Ret, typename... Args>
◆ FunctionView() [3/4]
template<typename Ret, typename... Args>
◆ FunctionView() [4/4]
template<typename Ret, typename... Args>
◆ operator=() [1/2]
template<typename Ret, typename... Args>
◆ operator=() [2/2]
template<typename Ret, typename... Args>
◆ operator()()
template<typename Ret, typename... Args>
◆ operator==()
template<typename Ret, typename... Args>
The documentation for this class was generated from the following file: