7#ifndef MFRAME_F6D62182_CA3A_4CCA_82D2_44B456A08840
8#define MFRAME_F6D62182_CA3A_4CCA_82D2_44B456A08840
17#include "./../func/Function.h"
18#include "./../lang/Object.h"
78 template <
typename T = Interface,
typename R = Interface,
typename C = Interface>
95 template <
typename T = Interface,
typename R = Interface>
124 template <
typename T,
typename R>
141 template <
typename T,
typename R>
函數方法包裝類,用於將類別方法轉換為標準 Function 介面
Definition FunctionMethod.h:40
virtual Interface & apply(Interface &t) override
實現 Function 介面的 apply 方法
FunctionMethod(Interface &c, Interface &(C::*method)(Interface &))
構造一個新的函數方法對象
Definition FunctionMethod.h:79
FunctionMethod(Function< T, R > &function)
從現有的函數對象構造函數方法對象
Definition FunctionMethod.h:96
virtual ~FunctionMethod(void) override
解構函數方法對象
物件基底類別
Definition Object.h:63
Definition BiConsumer.h:22
[Interface] 函數介面,提供接收單個參數並產生回傳值的功能
Definition Function.h:43
類別共用基礎介面
Definition Interface.h:152