mFrame
載入中...
搜尋中...
無符合項目
Function.h
1
7#ifndef MFRAME_B1264AE8_03E1_49A5_9EE7_8C4B88B06CFE
8#define MFRAME_B1264AE8_03E1_49A5_9EE7_8C4B88B06CFE
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15
16//----------------------------------------------------------------------------------------
17#include "./../lang/Interface.h"
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace mframe::func {
23 template <typename T, typename R>
24 struct Function;
25} // namespace mframe::func
26
27/* ***************************************************************************************
28 * Class/struct/Struct
29 */
30template <typename T = Interface, typename R = Interface>
31struct mframe::func::Function : public virtual Interface {
32 /* *************************************************************************************
33 * Method
34 */
35
42 virtual R& apply(T& t) abstract;
43
44 /* *************************************************************************************
45 * Static Method
46 */
47};
48
49/* ***************************************************************************************
50 * End of file
51 */
52
53#endif /* MFRAME_B1264AE8_03E1_49A5_9EE7_8C4B88B06CFE */
Definition BiConsumer.h:22
Definition Function.h:31
virtual R & apply(T &t) override
Definition Interface.h:134