18#include "pw_function/internal/static_invoker.h"
20namespace pw::function {
68template <
typename FunctionType>
70 return internal::StaticInvoker<
72 decltype(&FunctionType::operator())>::InvokeWithContextLast;
77template <
typename FunctionType>
79 return GetFunctionPointer<FunctionType>();
84template <
typename FunctionType>
86 return internal::StaticInvoker<
88 decltype(&FunctionType::operator())>::InvokeWithContextFirst;
93template <
typename FunctionType>
95 return GetFunctionPointerContextFirst<FunctionType>();
constexpr auto GetFunctionPointerContextFirst()
Definition: pointer.h:85
constexpr auto GetFunctionPointer()
Definition: pointer.h:69