mFrame
載入中...
搜尋中...
無符合項目
Predicate.h
1
7#ifndef MFRAME_651A6B15_72EF_40D9_84A8_F1BCA71DA85F
8#define MFRAME_651A6B15_72EF_40D9_84A8_F1BCA71DA85F
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "./../lang/Interface.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace ufm::func {
23 template <typename T>
24 struct Predicate;
25} // namespace ufm::func
26
27/* ***************************************************************************************
28 * Class/Interface/Struct/Enum
29 */
30
38template <typename T>
40 /* *************************************************************************************
41 * Method
42 */
43
50 virtual bool test(T& t) abstract;
51};
52
53/* ***************************************************************************************
54 * End of file
55 */
56
57#endif /* MFRAME_651A6B15_72EF_40D9_84A8_F1BCA71DA85F */
Definition BiConsumer.h:22
針對類型 T 的物件進行條件測試的 Predicate 介面。
Definition Predicate.h:39
virtual bool test(T &t) override
測試指定物件是否符合此條件。