flatten 20260225
This commit is contained in:
27
tjp/core/functions/Dispatch.h
Normal file
27
tjp/core/functions/Dispatch.h
Normal file
@@ -0,0 +1,27 @@
|
||||
// TJP COPYRIGHT HEADER
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace tjp {
|
||||
namespace core {
|
||||
|
||||
struct DispatchException;
|
||||
|
||||
struct Variable;
|
||||
|
||||
template<typename T>
|
||||
struct StackVariable;
|
||||
|
||||
typedef std::function<void(Variable &result, Variable &¶m)> DispatchFunction;
|
||||
|
||||
template<typename R, typename T>
|
||||
DispatchFunction asDispatchFunction(std::function<R(T)> &&f);
|
||||
|
||||
struct FunctionDispatchOnParam;
|
||||
struct FunctionDispatchOnReturn;
|
||||
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user