30#include "pw_function/internal/static_invoker.h"
32namespace pw::function {
67template <
typename FunctionType>
69 return internal::StaticInvoker<
71 decltype(&FunctionType::operator())>::InvokeWithContextLast;
76template <
typename FunctionType>
78 return GetFunctionPointer<FunctionType>();
83template <
typename FunctionType>
85 return internal::StaticInvoker<
87 decltype(&FunctionType::operator())>::InvokeWithContextFirst;
92template <
typename FunctionType>
94 return GetFunctionPointerContextFirst<FunctionType>();
constexpr auto GetFunctionPointerContextFirst()
Definition: pointer.h:84
constexpr auto GetFunctionPointer()
Definition: pointer.h:68